The members of System.Windows.Forms.Form are listed below.
See Also: Inherited members from System.Windows.Forms.ContainerControl
Form() |
Initializes a new instance of the System.Windows.Forms.Form class. |
AcceptButton | System.Windows.Forms.IButtonControl.
Gets or sets the button on the form that is clicked when the user presses the ENTER key. | |
[read-only] static | ActiveForm | System.Windows.Forms.Form.
Gets the currently active form for this application. |
[read-only] | ActiveMdiChild | System.Windows.Forms.Form.
Gets the currently active multiple-document interface (MDI) child window. |
AllowTransparency | bool.
Gets or sets a value indicating whether the opacity of the form can be adjusted. | |
AutoScale | bool.
Gets or sets a value indicating whether the form adjusts its size to fit the height of the font used on the form and scales its controls. | |
AutoScaleBaseSize | System.Drawing.Size.
Gets or sets the base size used for autoscaling of the form. | |
override | AutoScroll | bool.
Gets or sets a value indicating whether the form enables autoscrolling. |
override | AutoSize | bool.
Resize the form according to the setting of Form.AutoSizeMode. |
AutoSizeMode | System.Windows.Forms.AutoSizeMode.
Gets or sets the mode by which the form automatically resizes itself. | |
override | AutoValidate | System.Windows.Forms.AutoValidate. Documentation for this section has not yet been entered. |
override | BackColor | System.Drawing.Color. Documentation for this section has not yet been entered. |
CancelButton | System.Windows.Forms.IButtonControl.
Gets or sets the button control that is clicked when the user presses the ESC key. | |
ClientSize | System.Drawing.Size.
Gets or sets the size of the client area of the form. | |
ControlBox | bool.
Gets or sets a value indicating whether a control box is displayed in the caption bar of the form. | |
DesktopBounds | System.Drawing.Rectangle.
Gets or sets the size and location of the form on the Windows desktop. | |
DesktopLocation | System.Drawing.Point.
Gets or sets the location of the form on the Windows desktop. | |
DialogResult | System.Windows.Forms.DialogResult.
Gets or sets the dialog result for the form. | |
FormBorderStyle | System.Windows.Forms.FormBorderStyle.
Gets or sets the border style of the form. | |
HelpButton | bool.
Gets or sets a value indicating whether a Help button should be displayed in the caption box of the form. | |
Icon | System.Drawing.Icon.
Gets or sets the icon for the form. | |
[read-only] | IsMdiChild | bool.
Gets a value indicating whether the form is a multiple-document interface (MDI) child form. |
IsMdiContainer | bool.
Gets or sets a value indicating whether the form is a container for multiple-document interface (MDI) child forms. | |
[read-only] | IsRestrictedWindow | bool.
Gets a value indicating whether the form can use all windows and user input events without restriction. |
KeyPreview | bool.
Gets or sets a value indicating whether the form will receive key events before the event is passed to the control that has focus. | |
Location | System.Drawing.Point.
Gets or sets the System.Drawing.Point that represents the upper-left corner of the System.Windows.Forms.Form in screen coordinates. | |
MainMenuStrip | System.Windows.Forms.MenuStrip.
Gets or sets the primary menu container for the form. | |
Margin | System.Windows.Forms.Padding.
Gets or sets the space between controls. | |
MaximizeBox | bool.
Gets or sets a value indicating whether the Maximize button is displayed in the caption bar of the form. | |
override | MaximumSize | System.Drawing.Size.
Gets the maximum size the form can be resized to. |
[read-only] | MdiChildren | System.Windows.Forms.Form[].
Gets an array of forms that represent the multiple-document interface (MDI) child forms that are parented to this form. |
MdiParent | System.Windows.Forms.Form.
Gets or sets the current multiple-document interface (MDI) parent form of this form. | |
Menu | System.Windows.Forms.MainMenu.
Gets or sets the System.Windows.Forms.MainMenu that is displayed in the form. | |
[read-only] | MergedMenu | System.Windows.Forms.MainMenu.
Gets the merged menu for the form. |
MinimizeBox | bool.
Gets or sets a value indicating whether the Minimize button is displayed in the caption bar of the form. | |
override | MinimumSize | System.Drawing.Size.
Gets or sets the minimum size the form can be resized to. |
[read-only] | Modal | bool.
Gets a value indicating whether this form is displayed modally. |
Opacity | double.
Gets or sets the opacity level of the form. | |
[read-only] | OwnedForms | System.Windows.Forms.Form[].
Gets an array of System.Windows.Forms.Form objects that represent all forms that are owned by this form. |
Owner | System.Windows.Forms.Form.
Gets or sets the form that owns this form. | |
[read-only] | RestoreBounds | System.Drawing.Rectangle.
Gets the location and size of the form in its normal window state. |
RightToLeftLayout | bool.
Gets or sets a value indicating whether right-to-left mirror placement is turned on. | |
ShowIcon | bool.
Gets or sets a value indicating whether an icon is displayed in the caption bar of the form. | |
ShowInTaskbar | bool.
Gets or sets a value indicating whether the form is displayed in the Windows taskbar. | |
Size | System.Drawing.Size.
Gets or sets the size of the form. | |
SizeGripStyle | System.Windows.Forms.SizeGripStyle.
Gets or sets the style of the size grip to display in the lower-right corner of the form. | |
StartPosition | System.Windows.Forms.FormStartPosition.
Gets or sets the starting position of the form at run time. | |
TabIndex | int.
Gets or sets the tab order of the control within its container. | |
TabStop | bool.
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. | |
override | Text | string. Documentation for this section has not yet been entered. |
TopLevel | bool.
Gets or sets a value indicating whether to display the form as a top-level window. | |
TopMost | bool.
Gets or sets a value indicating whether the form should be displayed as a topmost form. | |
TransparencyKey | System.Drawing.Color.
Gets or sets the color that will represent transparent areas of the form. | |
WindowState | System.Windows.Forms.FormWindowState.
Gets or sets a value that indicates whether form is minimized, maximized, or normal. |
[read-only] override | CreateParams | System.Windows.Forms.CreateParams. Documentation for this section has not yet been entered. |
[read-only] override | DefaultImeMode | System.Windows.Forms.ImeMode.
Gets the default Input Method Editor (IME) mode supported by the control. |
[read-only] override | DefaultSize | System.Drawing.Size. Documentation for this section has not yet been entered. |
MaximizedBounds | System.Drawing.Rectangle.
Gets and sets the size of the form when it is maximized. | |
[read-only] | ShowWithoutActivation | bool.
Gets a value indicating whether the window will be activated when it is shown. |
Activate()
| ||
AddOwnedForm(System.Windows.Forms.Form)
| ||
Close()
| ||
static | GetAutoScaleSize(System.Drawing.Font)
| |
LayoutMdi(System.Windows.Forms.MdiLayout)
| ||
RemoveOwnedForm(System.Windows.Forms.Form)
| ||
SetDesktopBounds(int, int, int, int)
| ||
SetDesktopLocation(int, int)
| ||
Show(System.Windows.Forms.IWin32Window)
| ||
ShowDialog()
| ||
ShowDialog(System.Windows.Forms.IWin32Window)
| ||
override | ToString()
| |
override | ValidateChildren()Documentation for this section has not yet been entered. | |
override | ValidateChildren(System.Windows.Forms.ValidationConstraints)Documentation for this section has not yet been entered. |
ActivateMdiChild(System.Windows.Forms.Form)
| ||
override | AdjustFormScrollbars(bool)
| |
ApplyAutoScaling()
| ||
CenterToParent()
| ||
CenterToScreen()
| ||
override | CreateControlsInstance()Documentation for this section has not yet been entered. | |
override | CreateHandle()
| |
override | DefWndProc(ref System.Windows.Forms.Message)Documentation for this section has not yet been entered. | |
override | Dispose(bool)
| |
override | GetScaledBounds(System.Drawing.Rectangle, System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)Documentation for this section has not yet been entered. | |
OnActivated(EventArgs)
| ||
override | OnBackgroundImageChanged(EventArgs)
| |
override | OnBackgroundImageLayoutChanged(EventArgs)
| |
OnClosed(EventArgs)
| ||
OnClosing(System.ComponentModel.CancelEventArgs)
| ||
override | OnCreateControl()
| |
OnDeactivate(EventArgs)
| ||
override | OnEnabledChanged(EventArgs)Documentation for this section has not yet been entered. | |
override | OnEnter(EventArgs)
| |
override | OnFontChanged(EventArgs)Documentation for this section has not yet been entered. | |
OnFormClosed(System.Windows.Forms.FormClosedEventArgs)
| ||
OnFormClosing(System.Windows.Forms.FormClosingEventArgs)
| ||
override | OnHandleCreated(EventArgs)Documentation for this section has not yet been entered. | |
override | OnHandleDestroyed(EventArgs)Documentation for this section has not yet been entered. | |
OnHelpButtonClicked(System.ComponentModel.CancelEventArgs)
| ||
OnInputLanguageChanged(System.Windows.Forms.InputLanguageChangedEventArgs)
| ||
OnInputLanguageChanging(System.Windows.Forms.InputLanguageChangingEventArgs)
| ||
override | OnLayout(System.Windows.Forms.LayoutEventArgs)
| |
OnLoad(EventArgs)
| ||
OnMaximizedBoundsChanged(EventArgs)
| ||
OnMaximumSizeChanged(EventArgs)
| ||
OnMdiChildActivate(EventArgs)
| ||
OnMenuComplete(EventArgs)
| ||
OnMenuStart(EventArgs)
| ||
OnMinimumSizeChanged(EventArgs)
| ||
override | OnPaint(System.Windows.Forms.PaintEventArgs)Documentation for this section has not yet been entered. | |
override | OnResize(EventArgs)Documentation for this section has not yet been entered. | |
OnResizeBegin(EventArgs)
| ||
OnResizeEnd(EventArgs)
| ||
OnRightToLeftLayoutChanged(EventArgs)
| ||
OnShown(EventArgs)
| ||
override | OnStyleChanged(EventArgs)Documentation for this section has not yet been entered. | |
override | OnTextChanged(EventArgs)Documentation for this section has not yet been entered. | |
override | OnVisibleChanged(EventArgs)
| |
override | ProcessCmdKey(ref System.Windows.Forms.Message, System.Windows.Forms.Keys)Documentation for this section has not yet been entered. | |
override | ProcessDialogChar(char)
| |
override | ProcessDialogKey(System.Windows.Forms.Keys)
| |
override | ProcessKeyPreview(ref System.Windows.Forms.Message)Documentation for this section has not yet been entered. | |
override | ProcessMnemonic(char)
| |
override | ProcessTabKey(bool)Documentation for this section has not yet been entered. | |
override | ScaleControl(System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)
| |
override | ScaleCore(float, float)
| |
override | Select(bool, bool)
| |
override | SetBoundsCore(int, int, int, int, System.Windows.Forms.BoundsSpecified)Documentation for this section has not yet been entered. | |
override | SetClientSizeCore(int, int)
| |
override | SetVisibleCore(bool)Documentation for this section has not yet been entered. | |
override | UpdateDefaultButton()
| |
override | WndProc(ref System.Windows.Forms.Message)Documentation for this section has not yet been entered. |
Activated |
Occurs when the form is activated in code or by the user. | |
AutoSizeChanged |
Occurs when the Form.AutoSize property changes. | |
AutoValidateChanged |
Occurs when the Form.AutoValidate property changes. | |
Closed |
Occurs when the form is closed. | |
Closing |
Occurs when the form is closing. | |
Deactivate |
Occurs when the form loses focus and is no longer the active form. | |
FormClosed |
Occurs after the form is closed. | |
FormClosing |
Occurs before the form is closed. | |
HelpButtonClicked |
Occurs when the Help button is clicked. | |
InputLanguageChanged |
Occurs after the input language of the form has changed. | |
InputLanguageChanging |
Occurs when the user attempts to change the input language for the form. | |
Load |
Occurs before a form is displayed for the first time. | |
MarginChanged |
Occurs when the Form.Margin property changes. | |
MaximizedBoundsChanged |
Occurs when the value of the Form.MaximizedBounds property has changed. | |
MaximumSizeChanged |
Occurs when the value of the Form.MaximumSize property has changed. | |
MdiChildActivate |
Occurs when a multiple-document interface (MDI) child form is activated or closed within an MDI application. | |
MenuComplete |
Occurs when the menu of a form loses focus. | |
MenuStart |
Occurs when the menu of a form receives focus. | |
MinimumSizeChanged |
Occurs when the value of the Form.MinimumSize property has changed. | |
ResizeBegin |
Occurs when a form enters resizing mode. | |
ResizeEnd |
Occurs when a form exits resizing mode. | |
RightToLeftLayoutChanged |
Occurs after the value of the Form.RightToLeftLayout property changes. | |
Shown |
Occurs whenever the form is first displayed. | |
TabIndexChanged |
Occurs when the value of the Form.TabIndex property changes. | |
TabStopChanged |
Occurs when the Form.TabStop property changes. |