FormConfig
Configuration for a ReCaptcha form.
Type: Class
Namespace: ReCaptcha.Desktop.WinForms.Configuration
Assembly: ReCaptcha.Desktop.WinForms
public class FormConfig
Constructors
Creates a new FormConfig.
public FormConfig(
string title,
Icon icon = default!,
Form? parent = null,
FormStartPosition startPosition = FormStartPosition.CenterScreen,
int left = 0,
int top = 0
bool showAsDialog = false,)
Parameter | Description |
---|---|
string title | The title of the form. |
Icon icon | The icon of the form. |
Form? parent | The parent of this form. (Only used for StartupLocation.CenterParent). |
FormStartPosition startPosition | The start position of the form. |
int left | The left position of the form. |
int top | The top position of the form. |
bool showAsDialog | Wether to block the UI thread when showing the form. |
Properties
Title
The title of the form.
Type: string
Modifier: none
Default Value: none
Icon
The icon of the form.
Type: Icon
Modifier: none
Default Value: default!
Parent
The parent of this form. (Only used for StartupLocation.CenterParent).
Type: Form?
Modifier: none
Default Value: null
StartupLocation
The start position of the form.
Type: WindowStartupLocation
Modifier: none
Default Value: WindowStartupLocation.CenterScreen
Left
The left position of the form.
Type: int
Modifier: none
Default Value: 0
Top
The top position of the form.
Type: int
Modifier: none
Default Value: 0
ShowAsDialog
Wether to block the UI thread when showing the form.
Type: bool
Modifier: none
Default Value: false