SIL.FieldWorks.Common.Controls.ColorPickerDropDown.m_colorMatrix_ColorPicked C# (CSharp) Method

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
		void m_colorMatrix_ColorPicked(object sender, EventArgs e)
		{
			m_currColor = m_colorMatrix.CurrentColor;

			Hide();

			if (ColorPicked != null)
				ColorPicked(this, EventArgs.Empty);
		}