C# Class TpTrayUtility.Components.TpButton

Inheritance: System.Windows.Forms.Button
Show file Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
TimerMethod ( Object state, EventArgs myEventArgs ) : void
TpButton ( ) : System

Protected Methods

Method Description
CalculateColor ( Color start, Color finish, double value ) : Color
Draw ( Graphics g ) : void
OnMouseDown ( MouseEventArgs mevent ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs mevent ) : void
OnPaint ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Method Details

CalculateColor() protected method

protected CalculateColor ( Color start, Color finish, double value ) : Color
start Color
finish Color
value double
return Color

Draw() protected method

protected Draw ( Graphics g ) : void
g System.Drawing.Graphics
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs mevent ) : void
mevent 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 mevent ) : void
mevent MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnSizeChanged() protected method

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

TimerMethod() public method

public TimerMethod ( Object state, EventArgs myEventArgs ) : void
state Object
myEventArgs System.EventArgs
return void

TpButton() public method

public TpButton ( ) : System
return System