[CLOSED] How to select a color from color dialog?

Answered
0
0

What is the event that I can use to select and apply a color from the color dialog?

Thanks

  • You must to post comments
Best Answer
0
0

Hi,

I don’t know of any event (I’m sure Frank or Luca will come along and correct me) but I use the colour dialog like this:

using (ColorDialog dlg = new ColorDialog())
{
dlg.Color = Color;
if(dlg.ShowDialog() == DialogResult.OK)
{
Color = dlg.Color;
}
}

HTH

Nic
 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.