C# Class SidebarLibrary.WinControls.ButtonEx

Summary description for VSNetButton.
Inheritance: System.Windows.Forms.Button
Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
ButtonEx ( ) : System

Protected Methods

Method Description
DrawBackground ( Graphics g, DrawState state ) : void
DrawButtonState ( Graphics g, DrawState state ) : void
DrawImage ( Graphics g, DrawState state, Image image, int x, int y ) : void
DrawText ( Graphics g, string Text, DrawState state, int x, int y ) : void
OnGotFocus ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void

Private Methods

Method Description
OnPaint ( PaintEventArgs pe ) : void

Method Details

ButtonEx() public method

public ButtonEx ( ) : System
return System

DrawBackground() protected method

protected DrawBackground ( Graphics g, DrawState state ) : void
g System.Drawing.Graphics
state DrawState
return void

DrawButtonState() protected method

protected DrawButtonState ( Graphics g, DrawState state ) : void
g System.Drawing.Graphics
state DrawState
return void

DrawImage() protected method

protected DrawImage ( Graphics g, DrawState state, Image image, int x, int y ) : void
g System.Drawing.Graphics
state DrawState
image Image
x int
y int
return void

DrawText() protected method

protected DrawText ( Graphics g, string Text, DrawState state, int x, int y ) : void
g System.Drawing.Graphics
Text string
state DrawState
x int
y int
return void

OnGotFocus() protected method

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

OnLostFocus() protected method

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

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

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

OnMouseLeave() protected method

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

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void