C# Class TpTrayUtility.Components.ChangeColorControl

Inheritance: System.Windows.Forms.Control
Show file Open project: TargetProcess/Tp.TrayUtility Class Usage Examples

Public Properties

Property Type Description
ColorChanged EventHandler

Protected Properties

Property Type Description
color Color

Public Methods

Method Description
ChangeColorControl ( ) : System
TextFromColor ( Color c ) : string

Protected Methods

Method Description
OnMouseClick ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
ApplyCustomColors ( System.Windows.Forms.ColorDialog colorDialog ) : void
SaveDefinedCustomColors ( System.Windows.Forms.ColorDialog colorDialog ) : void

Method Details

ChangeColorControl() public method

public ChangeColorControl ( ) : System
return System

OnMouseClick() protected method

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

OnPaint() protected method

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

TextFromColor() public method

public TextFromColor ( Color c ) : string
c Color
return string

Property Details

ColorChanged public property

public EventHandler ColorChanged
return EventHandler

color protected property

protected Color color
return Color