public override Control Browse(Action<double> progressUpdateCallback = null)
{
int scale = 4;
Bitmap bitmap = new Bitmap(64, Colors.Count * scale);
PictureBox box = new PictureBox() { Image = bitmap };
using (System.Drawing.Graphics graphics = System.Drawing.Graphics.FromImage(bitmap)) {
SolidBrush brush = new SolidBrush(Color.White);
for (int index = 0; index < Colors.Count; index++) {
brush.Color = Colors[index];
graphics.FillRectangle(brush, 0, index * scale, bitmap.Width, scale);
}
}
return box;
}