예제 #1
0
		public GUDsViewModel()
		{
			RefreshCommand = new RelayCommand(OnRefresh);
			EditFilterCommand = new RelayCommand(OnEditFilter);
			Filter = new GUDFilter();
			Initialize();
		}
예제 #2
0
		void OnEditFilter()
		{
			var filterViewModel = new GUDFilterViewModel(Filter);
			if (DialogService.ShowModalWindow(filterViewModel))
			{
				Filter = filterViewModel.Filter;
				Initialize();
			}
		}