C# Class System.Windows.Forms.Form

Inheritance: ContainerControl, IResizableControl
Show file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
ActivateFocusCues void
AdjustFormScrollbars void
ApplyAutoScaling void
CallLoad void
ChangingParent void
CheckAcceptButton void
ControlAddedHandler void
CreateControlsInstance Control.ControlCollection
CreateHandle void
DefWndProc void
FireClosedEvents void
FireClosingEvents bool
FireEnter void
FireLeave void
FocusInternal bool
Form System
GetAutoScaleSize System.Drawing.SizeF
GetPreferredSizeCore System.Drawing.Size
GetScaledBounds System.Drawing.Rectangle
InternalShow void
OnActivated void
OnActivatedInternal void
OnClosed void
OnClosing void
OnCreateControl void
OnDeactivate void
OnDeactivateInternal void
OnEnabledChanged void
OnEnter void
OnFontChanged void
OnFormClosed void
OnFormClosing void
OnHandleCreated void
OnHandleDestroyed void
OnHelpButtonClicked void
OnInputLanguageChanged void
OnInputLanguageChanging void
OnLoad void
OnLoadInternal void
OnMaximizedBoundsChanged void
OnMaximumSizeChanged void
OnMdiChildActivate void
OnMenuComplete void
OnMenuStart void
OnMinimumSizeChanged void
OnPaint void
OnResize void
OnResizeBegin void
OnResizeEnd void
OnRightToLeftLayoutChanged void
OnShown void
OnStyleChanged void
OnTextChanged void
OnUIAMenuChanged void
OnUIATopMostChanged void
OnUIAWindowStateChanged void
OnVisibleChanged void
ProcessDialogChar bool
RaiseCloseEvents bool
RemoveWindowManager void
ScaleControl void
ScaleCore void
SelectActiveControl void
SetBoundsCore void
SetClientSizeCore void
SetVisibleCore void
ShouldSerializeAutoScroll bool
ShouldSerializeAutoSize bool
ShouldSerializeIcon bool
ShouldSerializeTransparencyKey bool
UpdateBounds void
UpdateSizeGripVisible void
UpdateWindowText void
ValidateChildren bool
ValidateChildren bool
WmActivate void
WmClose void
WmDestroy void
WmGetMinMaxInfo void
WmKillFocus void
WmNcCalcSize void
WmNcHitTest void
WmNcLButtonDown void
WmNcLButtonUp void
WmNcMouseLeave void
WmNcMouseMove void
WmNcPaint void
WmSetFocus void
WmSysCommand void
WmWindowPosChanged void
WndProc void
performLayout void

Public Methods

Method Description
Activate ( ) : void
AddOwnedForm ( Form ownedForm ) : void
Close ( ) : void
CreateGraphics ( ) : Graphics

Drawing stuff

LayoutMdi ( MdiLayout value ) : void
PerformLayout ( ) : void
Refresh ( ) : void
RemoveOwnedForm ( Form ownedForm ) : void
SetDesktopBounds ( int x, int y, int width, int height ) : void
SetDesktopLocation ( int x, int y ) : void
Show ( IWin32Window owner ) : void
ShowDialog ( ) : DialogResult
ShowDialog ( IWin32Window owner ) : DialogResult
SuspendLayout ( ) : void
ToString ( ) : string

Protected Methods

Method Description
ActivateMdiChild ( Form form ) : void
CenterToParent ( ) : void
CenterToScreen ( ) : void
Dispose ( bool disposing ) : void
OnBackgroundImageChanged ( EventArgs e ) : void
OnBackgroundImageLayoutChanged ( EventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool
ProcessDialogKey ( Keys keyData ) : bool
ProcessKeyPreview ( Message &m ) : bool
ProcessMnemonic ( char charCode ) : bool
ProcessTabKey ( bool forward ) : bool
Select ( bool directed, bool forward ) : void
UpdateDefaultButton ( ) : void

Private Methods

Method Description
ActivateFocusCues ( ) : void
AdjustFormScrollbars ( bool displayScrollbars ) : void
ApplyAutoScaling ( ) : void
CallLoad ( ) : void
ChangingParent ( Control new_parent ) : void
CheckAcceptButton ( ) : void
ControlAddedHandler ( object sender, System.Windows.Forms.ControlEventArgs e ) : void
CreateControlsInstance ( ) : Control.ControlCollection
CreateHandle ( ) : void
DefWndProc ( Message &m ) : void
FireClosedEvents ( CloseReason reason ) : void
FireClosingEvents ( CloseReason reason, bool cancel ) : bool
FireEnter ( ) : void
FireLeave ( ) : void
FocusInternal ( bool skip_check ) : bool
Form ( ) : System
GetAutoScaleSize ( Font font ) : SizeF
GetPreferredSizeCore ( Size proposedSize ) : Size
GetScaledBounds ( Rectangle bounds, SizeF factor, BoundsSpecified specified ) : Rectangle
InternalShow ( ) : void
OnActivated ( EventArgs e ) : void
OnActivatedInternal ( ) : void
OnClosed ( EventArgs e ) : void
OnClosing ( System e ) : void
OnCreateControl ( ) : void
OnDeactivate ( EventArgs e ) : void
OnDeactivateInternal ( ) : void
OnEnabledChanged ( EventArgs e ) : void
OnEnter ( EventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnFormClosed ( System.Windows.Forms.FormClosedEventArgs e ) : void
OnFormClosing ( FormClosingEventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnHelpButtonClicked ( CancelEventArgs e ) : void
OnInputLanguageChanged ( System.Windows.Forms.InputLanguageChangedEventArgs e ) : void
OnInputLanguageChanging ( System.Windows.Forms.InputLanguageChangingEventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnLoadInternal ( EventArgs e ) : void
OnMaximizedBoundsChanged ( EventArgs e ) : void
OnMaximumSizeChanged ( EventArgs e ) : void
OnMdiChildActivate ( EventArgs e ) : void
OnMenuComplete ( EventArgs e ) : void
OnMenuStart ( EventArgs e ) : void
OnMinimumSizeChanged ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnResizeBegin ( EventArgs e ) : void
OnResizeEnd ( EventArgs e ) : void
OnRightToLeftLayoutChanged ( EventArgs e ) : void
OnShown ( EventArgs e ) : void
OnStyleChanged ( EventArgs e ) : void
OnTextChanged ( EventArgs e ) : void
OnUIAMenuChanged ( EventArgs e ) : void
OnUIATopMostChanged ( ) : void
OnUIAWindowStateChanged ( ) : void
OnVisibleChanged ( EventArgs e ) : void
ProcessDialogChar ( char charCode ) : bool
RaiseCloseEvents ( bool last_check, bool cancel ) : bool
RemoveWindowManager ( ) : void
ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
ScaleCore ( float x, float y ) : void
SelectActiveControl ( ) : void
SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
SetClientSizeCore ( int x, int y ) : void
SetVisibleCore ( bool value ) : void
ShouldSerializeAutoScroll ( ) : bool
ShouldSerializeAutoSize ( ) : bool
ShouldSerializeIcon ( ) : bool
ShouldSerializeTransparencyKey ( ) : bool
UpdateBounds ( ) : void
UpdateSizeGripVisible ( ) : void
UpdateWindowText ( ) : void
ValidateChildren ( ) : bool
ValidateChildren ( ValidationConstraints validationConstraints ) : bool
WmActivate ( Message &m ) : void
WmClose ( Message &m ) : void
WmDestroy ( Message &m ) : void
WmGetMinMaxInfo ( Message &m ) : void
WmKillFocus ( Message &m ) : void
WmNcCalcSize ( Message &m ) : void
WmNcHitTest ( Message &m ) : void
WmNcLButtonDown ( Message &m ) : void
WmNcLButtonUp ( Message &m ) : void
WmNcMouseLeave ( Message &m ) : void
WmNcMouseMove ( Message &m ) : void
WmNcPaint ( Message &m ) : void
WmSetFocus ( Message &m ) : void
WmSysCommand ( Message &m ) : void
WmWindowPosChanged ( Message &m ) : void
WndProc ( Message &m ) : void
performLayout ( ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

ActivateMdiChild() protected method

protected ActivateMdiChild ( Form form ) : void
form Form
return void

AddOwnedForm() public method

public AddOwnedForm ( Form ownedForm ) : void
ownedForm Form
return void

CenterToParent() protected method

protected CenterToParent ( ) : void
return void

CenterToScreen() protected method

protected CenterToScreen ( ) : void
return void

Close() public method

public Close ( ) : void
return void

CreateGraphics() public method

Drawing stuff
public CreateGraphics ( ) : Graphics
return System.Drawing.Graphics

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

LayoutMdi() public method

public LayoutMdi ( MdiLayout value ) : void
value MdiLayout
return void

OnBackgroundImageChanged() protected method

protected OnBackgroundImageChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnBackgroundImageLayoutChanged() protected method

protected OnBackgroundImageLayoutChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
return void

PerformLayout() public method

public PerformLayout ( ) : void
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

ProcessDialogKey() protected method

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
return bool

ProcessKeyPreview() protected method

protected ProcessKeyPreview ( Message &m ) : bool
m Message
return bool

ProcessMnemonic() protected method

protected ProcessMnemonic ( char charCode ) : bool
charCode char
return bool

ProcessTabKey() protected method

protected ProcessTabKey ( bool forward ) : bool
forward bool
return bool

Refresh() public method

public Refresh ( ) : void
return void

RemoveOwnedForm() public method

public RemoveOwnedForm ( Form ownedForm ) : void
ownedForm Form
return void

Select() protected method

protected Select ( bool directed, bool forward ) : void
directed bool
forward bool
return void

SetDesktopBounds() public method

public SetDesktopBounds ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

SetDesktopLocation() public method

public SetDesktopLocation ( int x, int y ) : void
x int
y int
return void

Show() public method

public Show ( IWin32Window owner ) : void
owner IWin32Window
return void

ShowDialog() public method

public ShowDialog ( ) : DialogResult
return DialogResult

ShowDialog() public method

public ShowDialog ( IWin32Window owner ) : DialogResult
owner IWin32Window
return DialogResult

SuspendLayout() public method

public SuspendLayout ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

UpdateDefaultButton() protected method

protected UpdateDefaultButton ( ) : void
return void