C# Class DroidExplorer.Controls.CommandButton

Inheritance: System.Windows.Forms.Button
Mostrar archivo Open project: camalot/droidexplorer Class Usage Examples

Public Methods

Method Description
CommandButton ( ) : System

Initializes a new instance of the CommandButton class.

GetBestHeight ( ) : int

Gets the height of the best.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCreateControl ( ) : void

Raises the M:System.Windows.Forms.Control.CreateControl method.

OnMouseDown ( System e ) : void

Raises the E:System.Windows.Forms.Control.MouseDown event.

OnMouseEnter ( System e ) : void

OnMouseLeave ( System e ) : void

OnMouseUp ( System e ) : void

Raises the E:System.Windows.Forms.Control.MouseUp event.

OnPaint ( PaintEventArgs e ) : void

Raises the E:System.Windows.Forms.Control.Paint event.

OnSizeChanged ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Control.SizeChanged event.

Private Methods

Method Description
GetLargeText ( ) : string

Gets the large text.

GetLargeTextSizeF ( ) : SizeF

Gets the large text size F.

GetSmallText ( ) : string

Gets the small text.

GetSmallTextSizeF ( ) : SizeF

Gets the small text size F.

InitializeComponent ( ) : void

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

Method Details

CommandButton() public method

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

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

GetBestHeight() public method

Gets the height of the best.
public GetBestHeight ( ) : int
return int

OnCreateControl() protected method

Raises the M:System.Windows.Forms.Control.CreateControl method.
protected OnCreateControl ( ) : void
return void

OnMouseDown() protected method

Raises the E:System.Windows.Forms.Control.MouseDown event.
protected OnMouseDown ( System e ) : void
e System A that contains the event data.
return void

OnMouseEnter() protected method

protected OnMouseEnter ( System e ) : void
e System
return void

OnMouseLeave() protected method

protected OnMouseLeave ( System e ) : void
e System
return void

OnMouseUp() protected method

Raises the E:System.Windows.Forms.Control.MouseUp event.
protected OnMouseUp ( System e ) : void
e System A that contains the event data.
return void

OnPaint() protected method

Raises the E:System.Windows.Forms.Control.Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
return void

OnSizeChanged() protected method

Raises the E:System.Windows.Forms.Control.SizeChanged event.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void