Example #1
0
        private ColorButton CreateColorButton(string hex)
        {
            ColorButton ret = new ColorButton();

            ret.Show();

            ParseColor(ret, hex);

            return(ret);
        }
Example #2
0
 protected void OnExportTypeSelectionChanged(object sender, EventArgs e)
 {
     if (ExportTypeSelection.Active == (int)ExportType.SVG)
     {
         ColorButton.Hide();
         label3.Hide();
     }
     else
     {
         ColorButton.Show();
         label3.Show();
     }
 }