SaveSettings() public method

public SaveSettings ( string themeName ) : void
themeName string
return void
Beispiel #1
0
        public override void Run()
        {
            var settings = new ToolSettings();

            settings.SetTheme("dev2010");
            settings.SaveSettings("dev2010");
        }
Beispiel #2
0
        public override void Run()
        {
            var settings = new ToolSettings();

            settings.SetTheme("luna.normalcolor");
            settings.SaveSettings("luna.normalcolor");
        }
Beispiel #3
0
        public override void Run()
        {
            var settings = new ToolSettings();

            settings.SetTheme("classic");
            settings.SaveSettings("classic");
        }
Beispiel #4
0
        public override void Run()
        {
            var settings = new ToolSettings();

            settings.SetTheme("ExpressionLight");
            settings.SaveSettings("ExpressionLight");
        }
Beispiel #5
0
 public override void Run()
 {
     var colorDialog = new System.Windows.Forms.ColorDialog();
     var result = colorDialog.ShowDialog();
     if (result == DialogResult.OK)
     {
         var color = colorDialog.Color;
         string clrStr = "#" + color.ToArgb().ToString("X8");
         var settings = new ToolSettings();
         settings.SetTheme(clrStr);
         settings.SaveSettings(clrStr);
     }
 }
Beispiel #6
0
        public override void Run()
        {
            var colorDialog = new System.Windows.Forms.ColorDialog();
            var result      = colorDialog.ShowDialog();

            if (result == DialogResult.OK)
            {
                var    color    = colorDialog.Color;
                string clrStr   = "#" + color.ToArgb().ToString("X8");
                var    settings = new ToolSettings();
                settings.SetTheme(clrStr);
                settings.SaveSettings(clrStr);
            }
        }
Beispiel #7
0
 public override void Run()
 {
     var settings = new ToolSettings();
     settings.SetTheme("default");
     settings.SaveSettings("default");
 }
Beispiel #8
0
 public override void Run()
 {
     var settings = new ToolSettings();
     settings.SetTheme("classic");
     settings.SaveSettings("classic");
 }
Beispiel #9
0
 public override void Run()
 {
     var settings = new ToolSettings();
     settings.SetTheme("#FF800000");
     settings.SaveSettings("#FF800000");
 }
Beispiel #10
0
 public override void Run()
 {
     var settings = new ToolSettings();
     settings.SetTheme("aero.normalcolor");
     settings.SaveSettings("aero.normalcolor");
 }
Beispiel #11
0
 public override void Run()
 {
     var settings = new ToolSettings();
     settings.SetTheme("ExpressionLight");
     settings.SaveSettings("ExpressionLight");
 }
Beispiel #12
0
 public override void Run()
 {
     var settings = new ToolSettings();
     settings.SetTheme("dev2010green");
     settings.SaveSettings("dev2010green");
 }