Example #1
0
 public GeneralViewModel()
 {
     GeneralSettings         = new GeneralSettings(Context.Instance.Settings.GeneralSettings ?? GeneralSettings.CreateDefaults());
     BrowserFolders          = commands.AddCommand(ExecuteOpenFolderDialog, CanExecuteOpenFolderDialog);
     BrowserFoldersSolutions = commands.AddCommand(ExecuteOpenFolderDialogSolutions, CanExecuteOpenFolderDialog);
 }
Example #2
0
 public Settings()
 {
     SettingsVersion          = SETTINGS_VERSION_NUMBER;
     GeneralSettings          = GeneralSettings.CreateDefaults();
     ILSConfigurationSettings = ILSConfigurationSettings.CreateDefaults();
 }
Example #3
0
 public void ExecuteRestoreDefaultValues()
 {
     GeneralSettings = GeneralSettings.CreateDefaults();
     NotifyPropertyChanged(nameof(GeneralSettings));
 }