I have an application where the System.Windows.Forms.ColorDialog dialog box is used as a color picker. Is there anyway that I can either (1) save the swatches the user saves in the "Custom Colors" section of this dialog or (2) create a standard set of swatches that all users would see when they open the color picker?
+1
A:
I have a UserControl that just stores the RGB values for each swatch. You could easily store Custom swatches like that, as well.
Edit: Oh, and to actually answer your question, take a look at:
Michael Todd
2009-07-09 16:33:36
I love SO - I've been wondering how to do this for years, but it never seemed important enough to devote any research time to.
MusiGenesis
2009-07-09 17:01:57
I implemented the solution from the link Michael provided. It works quite well.
Kivus
2009-07-10 16:40:26