C# Class Hawkeye.UI.MainForm

The application form.
Inheritance: System.Windows.Forms.Form, IDefaultLayoutProvider
Datei anzeigen Open project: odalet/Hawkeye2 Class Usage Examples

Private Properties

Property Type Description
InitializeComponent void
SetWindowSettings void
UpdateTitle void
aboutToolStripMenuItem_Click void
exitToolStripMenuItem_Click void

Public Methods

Method Description
GetDefaultBounds ( ) : Rectangle
MainForm ( ) : System

Initializes a new instance of the MainForm class.

SetTarget ( IntPtr hwnd ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosed ( EventArgs e ) : void
WndProc ( Message &m ) : void

Handles this window messages

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

SetWindowSettings ( MainFormSettings settings ) : void
UpdateTitle ( string controlName = "" ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the aboutToolStripMenuItem control.

exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the exitToolStripMenuItem control.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetDefaultBounds() public method

public GetDefaultBounds ( ) : Rectangle
return System.Drawing.Rectangle

MainForm() public method

Initializes a new instance of the MainForm class.
public MainForm ( ) : System
return System

OnClosed() protected method

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

SetTarget() public method

public SetTarget ( IntPtr hwnd ) : void
hwnd System.IntPtr
return void

WndProc() protected method

Handles this window messages
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message The message.
return void