Exemple #1
0
		private static void OnWorkThread()
		{
			try
			{
				MainViewModel = new MainViewModel();
				ApplicationService.Run(MainViewModel, false, false);
			}
			catch (Exception e)
			{
				Logger.Error(e, "Bootstrapper.OnWorkThread");
			}
			BootstrapperLoadEvent.Set();
			System.Windows.Threading.Dispatcher.Run();
		}
Exemple #2
0
		public MainViewModel()
		{
			Current = this;
			Title = "Драйвер ОПС FireSec";
		}