C# Class SIL.FieldWorks.Common.Controls.ColorPickerDropDown

Inheritance: System.Windows.Forms.ToolStripDropDown, IFWDisposable
ファイルを表示 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ColorPickerDropDown ( bool fShowUnspecified, Color selectedColor ) : System

Encapsulates a color picker drop-down almost just like Word 2003's.

m_autoItem_Click ( object sender, EventArgs e ) : void

m_colorMatrix_ColorPicked ( object sender, EventArgs e ) : void

Handle a color change from clicking on one of the colored squares.

m_moreItem_Click ( object sender, EventArgs e ) : void

Show the color dialog.

Method Details

CheckDisposed() public method

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
return void

ColorPickerDropDown() public method

Encapsulates a color picker drop-down almost just like Word 2003's.
public ColorPickerDropDown ( bool fShowUnspecified, Color selectedColor ) : System
fShowUnspecified bool if set to true control will include a button /// for the "automatic" choice (i.e., not explicitly specified).
selectedColor Color Initial color to select.
return System

m_autoItem_Click() public method

public m_autoItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

m_colorMatrix_ColorPicked() public method

Handle a color change from clicking on one of the colored squares.
public m_colorMatrix_ColorPicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

m_moreItem_Click() public method

Show the color dialog.
public m_moreItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void