private ColorButton CreateColorButton(string hex) { ColorButton ret = new ColorButton(); ret.Show(); ParseColor(ret, hex); return(ret); }
protected void OnExportTypeSelectionChanged(object sender, EventArgs e) { if (ExportTypeSelection.Active == (int)ExportType.SVG) { ColorButton.Hide(); label3.Hide(); } else { ColorButton.Show(); label3.Show(); } }