C# Class SidebarLibrary.WinControls.ColorPicker

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
CalculateSafeDisplayPoint void
ColorChanged void
ColorPicker_Load void
ColorTextBox_GotFocus void
ColorTextBox_LostFocus void
ColorTextBox_MouseEnter void
ColorTextBox_MouseLeave void
DrawColorPickerState void
FormatRGB void
InitializeColorTextBoxString void
InitializeComponent void
OnNewColor void
ResetTextBox void
SetupChildrenControls void
arrowButton_Click void
colorTextBox_KeyUp void

Public Methods

Method Description
ColorPicker ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnEnabledChanged ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
CalculateSafeDisplayPoint ( Point &point ) : void
ColorChanged ( object sender, ColorChangeArgs ea ) : void
ColorPicker_Load ( object sender, System e ) : void
ColorTextBox_GotFocus ( object sender, EventArgs e ) : void
ColorTextBox_LostFocus ( object sender, EventArgs e ) : void
ColorTextBox_MouseEnter ( object sender, EventArgs e ) : void
ColorTextBox_MouseLeave ( object sender, EventArgs e ) : void
DrawColorPickerState ( ) : void
FormatRGB ( string text ) : void
InitializeColorTextBoxString ( Color color, string sender ) : void
InitializeComponent ( ) : void

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

OnNewColor ( NewColorArgs e ) : void
ResetTextBox ( string ErrorMessage ) : void
SetupChildrenControls ( ) : void
arrowButton_Click ( object sender, System e ) : void
colorTextBox_KeyUp ( object sender, System e ) : void

Method Details

ColorPicker() public method

public ColorPicker ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnEnabledChanged() protected method

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

OnGotFocus() protected method

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

OnHandleCreated() protected method

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

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
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

OnPaint() protected method

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

OnResize() protected method

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