C# Class TpTrayUtility.Components.TpBaseButton

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

Protected Properties

Property Type Description
isOver bool
isPressed bool
normal System.Drawing.Bitmap
over System.Drawing.Bitmap
pressed System.Drawing.Bitmap

Public Methods

Method Description
TpBaseButton ( ) : System

Protected Methods

Method Description
OnMouseDown ( MouseEventArgs mevent ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs mevent ) : void
OnPaint ( PaintEventArgs pevent ) : void

Method Details

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 pevent ) : void
pevent PaintEventArgs
return void

TpBaseButton() public method

public TpBaseButton ( ) : System
return System

Property Details

isOver protected property

protected bool isOver
return bool

isPressed protected property

protected bool isPressed
return bool

normal protected property

protected Bitmap,System.Drawing normal
return System.Drawing.Bitmap

over protected property

protected Bitmap,System.Drawing over
return System.Drawing.Bitmap

pressed protected property

protected Bitmap,System.Drawing pressed
return System.Drawing.Bitmap