Пример #1
0
        public static Settings GetDefault()
        {
            Settings settings = new Settings();

            settings.CurrentHotKeys          = "Default";
            settings.CurrentTheme            = "Default";
            settings.FirstStart              = true;
            settings.FullScreenMaximized     = true;
            settings.OverrideExistingHotKeys = true;
            settings.SendAnonymData          = true;
            settings.HotKeys           = HotKeys.GetDefault();
            settings.MinimizeToTrayBar = true;
            settings.StartWithWindows  = true;
            settings.Theme             = Theme.GetDefault();

            return(settings);
        }
Пример #2
0
 public void CreateHotKeys(string name)
 {
     HotKeys        = HotKeys.GetDefault();
     HotKeys.Name   = name;
     CurrentHotKeys = name;
 }