コード例 #1
0
        public bool EditColor(ThemeStandard.Settings.CI ex)
        {
            ColorDialog MyDialog = new ColorDialog();

            MyDialog.AllowFullOpen = true;
            MyDialog.FullOpen      = true;
            MyDialog.Color         = theme.currentsettings.colors[ex];

            if (MyDialog.ShowDialog(this) == DialogResult.OK)
            {
                theme.currentsettings.colors[ex] = MyDialog.Color;
                theme.SetCustom();
                return(true);
            }
            else
            {
                return(false);
            }
        }