Exemplo n.º 1
0
		static void OnWorkThread()
		{
			try
			{
				MainViewModel = new MainViewModel();
				ApplicationService.Run(MainViewModel, false, false);
			}
			catch (Exception e)
			{
				Logger.Error(e, "Исключение при вызове Bootstrapper.OnWorkThread");
			}
			MainViewStartedEvent.Set();
			System.Windows.Threading.Dispatcher.Run();
		}
Exemplo n.º 2
0
		public MainViewModel()
		{
			Current = this;
			Title = "OPC Сервер ГК ОПС FireSec";
			RegisterCommand = new RelayCommand(OnRegister);
		}
Exemplo n.º 3
0
		public MainViewModel()
		{
			Current = this;
			Title = "OPC Сервер Рубеж Глобал";
			RegisterCommand = new RelayCommand(OnRegister);
		}