Example #1
0
		public override void CreateViewModels()
		{
			ServiceFactory.Events.GetEvent<EditValidationEvent>().Subscribe(OnEditValidation);

			SettingsViewModel = new SettingsViewModel();
			ChangeThemeCommand = new RelayCommand<Theme>(OnChangeTheme, CanChangeTheme);
		}
Example #2
0
		public override void CreateViewModels()
		{
            ServiceFactory.Events.GetEvent<EditValidationEvent>().Subscribe(OnEditValidation);
            
            SettingsViewModel = new SettingsViewModel();
			ServiceFactory.RibbonService.AddRibbonItems(new RibbonMenuItemViewModel("Настройки", SettingsViewModel, "/Controls;component/Images/BSettings.png", "Настройка приложения") { Order = int.MaxValue - 1 });
		}
Example #3
0
 public SettingsModule()
 {
     _settingsViewModel = new SettingsViewModel();
 }