public bool EditColor(Settings.CI ex) { ColorDialog MyDialog = new ColorDialog(); MyDialog.AllowFullOpen = true; MyDialog.FullOpen = true; MyDialog.Color = currentsettings.colors[ex]; if (MyDialog.ShowDialog() == DialogResult.OK) { currentsettings.colors[ex] = MyDialog.Color; SetCustom(); return(true); } else { return(false); } }
public void UpdatePatch(Panel pn) { Settings.CI ci = (Settings.CI)(pn.Tag); pn.BackColor = currentsettings.colors[ci]; }