Form Events

Events

ActivatedOccurs when the form is activated in code or by the user.
(Inherited from Form)
AdvancedAnchorLayoutInitialized 
AutoSizeChangedOccurs when the AutoSize property changes.
(Inherited from Form)
AutoValidateChangedOccurs when the AutoValidate property changes.
(Inherited from Form)
BackColorChangedOccurs when the value of the BackColor property changes.
(Inherited from Control)
BackgroundImageChangedOccurs when the value of the BackgroundImage property changes.
(Inherited from Control)
BackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes.
(Inherited from Control)
BindAcceptButton 
BindAllowDrop 
BindBackGradientColorScheme 
BindBackgroundImageLocation 
BindChildWindow 
BindClientHeight 
BindClientWidth 
BindColorScheme 
BindContextMenuStrip 
BindFitToMDI 
BindFloatingWindow 
BindFontScheme 
BindForceTopLevel 
BindingContextChangedOccurs when the value of the BindingContext property changes.
(Inherited from Control)
BindLeft 
BindMinimumHeight 
BindMinimumWidth 
BindModal 
BindOnLoadSendToBack 
BindSplittedChild 
BindSplitterPosition 
BindText 
BindTitleBar 
BindTop 
CausesValidationChangedOccurs when the value of the CausesValidation property changes.
(Inherited from Control)
ChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control)
ClickOccurs when the control is clicked.
(Inherited from Control)
ClientSizeChangedOccurs when the value of the ClientSize property changes.
(Inherited from Control)
ContextMenuChangedOccurs when the value of the ContextMenu property changes.
(Inherited from Control)
ContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes.
(Inherited from Control)
ControlAddedOccurs when a new control is added to the ControlControlCollection.
(Inherited from Control)
ControlRemovedOccurs when a control is removed from the ControlControlCollection.
(Inherited from Control)
CursorChangedOccurs when the value of the Cursor property changes.
(Inherited from Control)
DeactivateOccurs when the form loses focus and is no longer the active form.
(Inherited from Form)
DisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
DockChangedOccurs when the value of the Dock property changes.
(Inherited from Control)
DoubleClickOccurs when the control is double-clicked.
(Inherited from Control)
DpiChangedOccurs when the DPI setting changes on the display device where the form is currently displayed.
(Inherited from Form)
DpiChangedAfterParentOccurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.
(Inherited from Control)
DpiChangedBeforeParentOccurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.
(Inherited from Control)
DragDropOccurs when a drag-and-drop operation is completed.
(Inherited from Control)
DragEnterOccurs when an object is dragged into the control's bounds.
(Inherited from Control)
DragLeaveOccurs when an object is dragged out of the control's bounds.
(Inherited from Control)
DragOverOccurs when an object is dragged over the control's bounds.
(Inherited from Control)
EnabledChangedOccurs when the Enabled property value has changed.
(Inherited from Control)
EnterOccurs when the control is entered.
(Inherited from Control)
FontChangedOccurs when the Font property value changes.
(Inherited from Control)
ForeColorChangedOccurs when the ForeColor property value changes.
(Inherited from Control)
FormClosedOccurs after the form is closed.
(Inherited from Form)
FormClosingOccurs before the form is closed.
(Inherited from Form)
GiveFeedbackOccurs during a drag operation.
(Inherited from Control)
GotFocusOccurs when the control receives focus.
(Inherited from Control)
HandleCreatedOccurs when a handle is created for the control.
(Inherited from Control)
HandleDestroyedOccurs when the control's handle is in the process of being destroyed.
(Inherited from Control)
HelpButtonClickedOccurs when the Help button is clicked.
(Inherited from Form)
HelpRequestedOccurs when the user requests help for a control.
(Inherited from Control)
ImeModeChangedOccurs when the ImeMode property has changed.
(Inherited from Control)
InputLanguageChangedOccurs after the input language of the form has changed.
(Inherited from Form)
InputLanguageChangingOccurs when the user attempts to change the input language for the form.
(Inherited from Form)
InvalidatedOccurs when a control's display requires redrawing.
(Inherited from Control)
KeyDownOccurs when a key is pressed while the control has focus.
(Inherited from Control)
KeyPressOccurs when a character. space or backspace key is pressed while the control has focus.
(Inherited from Control)
KeyUpOccurs when a key is released while the control has focus.
(Inherited from Control)
LayoutOccurs when a control should reposition its child controls.
(Inherited from Control)
LeaveOccurs when the input focus leaves the control.
(Inherited from Control)
LoadOccurs before a form is displayed for the first time.
(Inherited from Form)
LoadingBindingsApplied 
LocationChangedOccurs when the Location property value has changed.
(Inherited from Control)
LostFocusOccurs when the control loses focus.
(Inherited from Control)
MarginChangedOccurs when the control's margin changes.
(Inherited from Control)
MaximizedBoundsChangedOccurs when the value of the MaximizedBounds property has changed.
(Inherited from Form)
MaximumSizeChangedOccurs when the value of the MaximumSize property has changed.
(Inherited from Form)
MdiChildActivateOccurs when a multiple-document interface (MDI) child form is activated or closed within an MDI application.
(Inherited from Form)
MenuCompleteOccurs when the menu of a form loses focus.
(Inherited from Form)
MenuStartOccurs when the menu of a form receives focus.
(Inherited from Form)
MinimumSizeChangedOccurs when the value of the MinimumSize property has changed.
(Inherited from Form)
MouseCaptureChangedOccurs when the control loses mouse capture.
(Inherited from Control)
MouseClickOccurs when the control is clicked by the mouse.
(Inherited from Control)
MouseDoubleClickOccurs when the control is double clicked by the mouse.
(Inherited from Control)
MouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control)
MouseEnterOccurs when the mouse pointer enters the control.
(Inherited from Control)
MouseHoverOccurs when the mouse pointer rests on the control.
(Inherited from Control)
MouseLeaveOccurs when the mouse pointer leaves the control.
(Inherited from Control)
MouseMoveOccurs when the mouse pointer is moved over the control.
(Inherited from Control)
MouseUpOccurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control)
MouseWheelOccurs when the mouse wheel moves while the control has focus.
(Inherited from Control)
MoveOccurs when the control is moved.
(Inherited from Control)
PaddingChangedOccurs when the control's padding changes.
(Inherited from Control)
PaintOccurs when the control is redrawn.
(Inherited from Control)
ParentChangedOccurs when the Parent property value changes.
(Inherited from Control)
PreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control)
QueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control)
QueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(Inherited from Control)
RegionChangedOccurs when the value of the Region property changes.
(Inherited from Control)
ResizeOccurs when the control is resized.
(Inherited from Control)
ResizeBeginOccurs when a form enters resizing mode.
(Inherited from Form)
ResizeEndOccurs when a form exits resizing mode.
(Inherited from Form)
RightToLeftChangedOccurs when the RightToLeft property value changes.
(Inherited from Control)
RightToLeftLayoutChangedOccurs after the value of the RightToLeftLayout property changes.
(Inherited from Form)
ScrollOccurs when the user or code scrolls through the client area.
(Inherited from ScrollableControl)
ShownOccurs whenever the form is first displayed.
(Inherited from Form)
SizeChangedOccurs when the Size property value changes.
(Inherited from Control)
StyleChangedOccurs when the control style changes.
(Inherited from Control)
SystemColorsChangedOccurs when the system colors change.
(Inherited from Control)
TabIndexChangedOccurs when the TabIndex property value changes.
(Inherited from Control)
TabStopChangedOccurs when the TabStop property value changes.
(Inherited from Control)
TextChangedOccurs when the Text property value changes.
UserInput 
ValidatedOccurs when the control is finished validating.
(Inherited from Control)
ValidatingOccurs when the control is validating.
(Inherited from Control)
VisibleChangedOccurs when the Visible property value changes.
(Inherited from Control)

See Also