Color Dialog

When I developed HBSetup, I found, that there is no freeware color-pick dialog for .NET Compact Framework. So I created my own.

There are source codes. Maybe someone will find it usefull.

Usage is very simple:

//create dialog and set default color
ColorDialog cdialog = new ColorDialog(Color.Black);

//show dialog and check if OK was pressed
if (cdialog.ShowDialog() == DialogResult.OK) {

   //get selected color from dialog
   Color cl = cdialog.getColor();

}