示例#1
0
		public App()
		{
			DispatcherHelper.Initialize();
#if RELEASE
			_dialogService = new DialogService();
			DispatcherUnhandledException += Application_DispatcherUnhandledException;
#endif
			Exit += Application_Exit;
		}
		public DemoDamagesViewModel(DialogService dialogService)
		{
			_dialogService = dialogService;

			TeamSelectors.Add(new ComboboxSelector("CT", "Counter-Terrorists"));
			TeamSelectors.Add(new ComboboxSelector("T", "Terrorists"));
		}