C# Class ScreenInfo.MainForm

显示文件 Open project: odalet/Hawkeye2

Public Methods

Method Description
MainForm ( ) : System

Initializes a new instance of the MainForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnHandleCreated ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Form.Load event.

WndProc ( Message &m ) : void

Private Methods

Method Description
AppendMenu ( IntPtr hMenu, int uFlags, int uIDNewItem, string lpNewItem ) : bool
FillScreensList ( ) : void

Fills the screens list.

GetSystemMenu ( IntPtr hWnd, bool bRevert ) : IntPtr
InitializeComponent ( ) : void

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

InsertMenu ( IntPtr hMenu, int uPosition, int uFlags, int uIDNewItem, string lpNewItem ) : bool
MainForm_Move ( object sender, EventArgs e ) : void

Handles the Move event of the MainForm control.

MainForm_Resize ( object sender, EventArgs e ) : void

Handles the Resize event of the MainForm control.

UpdateTrackedInfo ( ) : void
closeButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the closeButton control.

refreshScreensButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the refreshScreensButton control.

trackCheckBox_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the trackCheckBox 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

MainForm() public method

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

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e EventArgs
return void

OnLoad() protected method

Raises the E:System.Windows.Forms.Form.Load event.
protected OnLoad ( EventArgs e ) : void
e EventArgs An that contains the event data.
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void