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

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
		void m_moreItem_Click(object sender, EventArgs e)
		{
			Hide();

			using (ColorDialog dlg = new ColorDialog())
			{
				dlg.FullOpen = true;

				if (dlg.ShowDialog() == DialogResult.OK)
				{
					CurrentColor = dlg.Color;
					if (ColorPicked != null)
						ColorPicked(this, EventArgs.Empty);
				}
			}
		}