[This is preliminary documentation and is subject to change.]

The MainWindow type exposes the following members.

Events

  NameDescription
Public eventActivated
Occurs when the form is activated in code or by the user.
(Inherited from Form.)
Public eventAutoSizeChanged
Occurs when the AutoSize property changes.
(Inherited from Form.)
Public eventAutoValidateChanged
Occurs when the AutoValidate property changes.
(Inherited from Form.)
Public eventBackColorChanged
Occurs when the value of the BackColor property changes.
(Inherited from Control.)
Public eventBackgroundImageChanged
Occurs when the value of the BackgroundImage property changes.
(Inherited from Control.)
Public eventBackgroundImageLayoutChanged
Occurs when the BackgroundImageLayout property changes.
(Inherited from Control.)
Public eventBindingContextChanged
Occurs when the value of the BindingContext property changes.
(Inherited from Control.)
Public eventCausesValidationChanged
Occurs when the value of the CausesValidation property changes.
(Inherited from Control.)
Public eventChangeUICues
Occurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control.)
Public eventClick
Occurs when the control is clicked.
(Inherited from Control.)
Public eventClientSizeChanged
Occurs when the value of the ClientSize property changes.
(Inherited from Control.)
Public eventClosed
Occurs when the form is closed.
(Inherited from Form.)
Public eventClosing
Occurs when the form is closing.
(Inherited from Form.)
Public eventContextMenuChanged
Occurs when the value of the ContextMenu property changes.
(Inherited from Control.)
Public eventContextMenuStripChanged
Occurs when the value of the ContextMenuStrip property changes.
(Inherited from Control.)
Public eventControlAdded
Occurs when a new control is added to the Control..::..ControlCollection.
(Inherited from Control.)
Public eventControlRemoved
Occurs when a control is removed from the Control..::..ControlCollection.
(Inherited from Control.)
Public eventCursorChanged
Occurs when the value of the Cursor property changes.
(Inherited from Control.)
Public eventDeactivate
Occurs when the form loses focus and is no longer the active form.
(Inherited from Form.)
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public eventDockChanged
Occurs when the value of the Dock property changes.
(Inherited from Control.)
Public eventDoubleClick
Occurs when the control is double-clicked.
(Inherited from Control.)
Public eventDragDrop
Occurs when a drag-and-drop operation is completed.
(Inherited from Control.)
Public eventDragEnter
Occurs when an object is dragged into the control's bounds.
(Inherited from Control.)
Public eventDragLeave
Occurs when an object is dragged out of the control's bounds.
(Inherited from Control.)
Public eventDragOver
Occurs when an object is dragged over the control's bounds.
(Inherited from Control.)
Public eventEnabledChanged
Occurs when the Enabled property value has changed.
(Inherited from Control.)
Public eventEnter
Occurs when the control is entered.
(Inherited from Control.)
Public eventFontChanged
Occurs when the Font property value changes.
(Inherited from Control.)
Public eventForeColorChanged
Occurs when the ForeColor property value changes.
(Inherited from Control.)
Public eventFormClosed
Occurs after the form is closed.
(Inherited from Form.)
Public eventFormClosing
Occurs before the form is closed.
(Inherited from Form.)
Public eventGiveFeedback
Occurs during a drag operation.
(Inherited from Control.)
Public eventGotFocus
Occurs when the control receives focus.
(Inherited from Control.)
Public eventHandleCreated
Occurs when a handle is created for the control.
(Inherited from Control.)
Public eventHandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
(Inherited from Control.)
Public eventHelpButtonClicked
Occurs when the Help button is clicked.
(Inherited from Form.)
Public eventHelpRequested
Occurs when the user requests help for a control.
(Inherited from Control.)
Public eventImeModeChanged
Occurs when the ImeMode property has changed.
(Inherited from Control.)
Public eventInputLanguageChanged
Occurs after the input language of the form has changed.
(Inherited from Form.)
Public eventInputLanguageChanging
Occurs when the user attempts to change the input language for the form.
(Inherited from Form.)
Public eventInvalidated
Occurs when a control's display requires redrawing.
(Inherited from Control.)
Public eventKeyDown
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
Public eventKeyPress
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
Public eventKeyUp
Occurs when a key is released while the control has focus.
(Inherited from Control.)
Public eventLayout
Occurs when a control should reposition its child controls.
(Inherited from Control.)
Public eventLeave
Occurs when the input focus leaves the control.
(Inherited from Control.)
Public eventLoad
Occurs before a form is displayed for the first time.
(Inherited from Form.)
Public eventLocationChanged
Occurs when the Location property value has changed.
(Inherited from Control.)
Public eventLostFocus
Occurs when the control loses focus.
(Inherited from Control.)
Public eventMarginChanged
Occurs when the Margin property changes.
(Inherited from Form.)
Public eventMaximizedBoundsChanged
Occurs when the value of the MaximizedBounds property has changed.
(Inherited from Form.)
Public eventMaximumSizeChanged
Occurs when the value of the MaximumSize property has changed.
(Inherited from Form.)
Public eventMdiChildActivate
Occurs when a multiple-document interface (MDI) child form is activated or closed within an MDI application.
(Inherited from Form.)
Public eventMenuComplete
Occurs when the menu of a form loses focus.
(Inherited from Form.)
Public eventMenuStart
Occurs when the menu of a form receives focus.
(Inherited from Form.)
Public eventMinimumSizeChanged
Occurs when the value of the MinimumSize property has changed.
(Inherited from Form.)
Public eventMouseCaptureChanged
Occurs when the control loses or gains mouse capture.
(Inherited from Control.)
Public eventMouseClick
Occurs when the control is clicked by the mouse.
(Inherited from Control.)
Public eventMouseDoubleClick
Occurs when the control is double clicked by the mouse.
(Inherited from Control.)
Public eventMouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control.)
Public eventMouseEnter
Occurs when the mouse pointer enters the control.
(Inherited from Control.)
Public eventMouseHover
Occurs when the mouse pointer rests on the control.
(Inherited from Control.)
Public eventMouseLeave
Occurs when the mouse pointer leaves the control.
(Inherited from Control.)
Public eventMouseMove
Occurs when the mouse pointer is moved over the control.
(Inherited from Control.)
Public eventMouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control.)
Public eventMouseWheel
Occurs when the mouse wheel moves while the control has focus.
(Inherited from Control.)
Public eventMove
Occurs when the control is moved.
(Inherited from Control.)
Public eventPaddingChanged
Occurs when the control's padding changes.
(Inherited from Control.)
Public eventPaint
Occurs when the control is redrawn.
(Inherited from Control.)
Public eventParentChanged
Occurs when the Parent property value changes.
(Inherited from Control.)
Public eventPreviewKeyDown
Occurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control.)
Public eventQueryAccessibilityHelp
Occurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control.)
Public eventQueryContinueDrag
Occurs 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.)
Public eventRegionChanged
Occurs when the value of the Region property changes.
(Inherited from Control.)
Public eventResize
Occurs when the control is resized.
(Inherited from Control.)
Public eventResizeBegin
Occurs when a form enters resizing mode.
(Inherited from Form.)
Public eventResizeEnd
Occurs when a form exits resizing mode.
(Inherited from Form.)
Public eventRightToLeftChanged
Occurs when the RightToLeft property value changes.
(Inherited from Control.)
Public eventRightToLeftLayoutChanged
Occurs after the value of the RightToLeftLayout property changes.
(Inherited from Form.)
Public eventScroll
Occurs when the user or code scrolls through the client area.
(Inherited from ScrollableControl.)
Public eventShown
Occurs whenever the form is first displayed.
(Inherited from Form.)
Public eventSizeChanged
Occurs when the Size property value changes.
(Inherited from Control.)
Public eventStyleChanged
Occurs when the control style changes.
(Inherited from Control.)
Public eventSystemColorsChanged
Occurs when the system colors change.
(Inherited from Control.)
Public eventTabIndexChanged
Occurs when the value of the TabIndex property changes.
(Inherited from Form.)
Public eventTabStopChanged
Occurs when the TabStop property changes.
(Inherited from Form.)
Public eventTextChanged
Occurs when the Text property value changes.
(Inherited from Control.)
Public eventValidated
Occurs when the control is finished validating.
(Inherited from Control.)
Public eventValidating
Occurs when the control is validating.
(Inherited from Control.)
Public eventVisibleChanged
Occurs when the Visible property value changes.
(Inherited from Control.)

See Also