Exemplo n.º 1
0
 public void Filter(RelayCommand refreshCommand)
 {
     var archiveFilterViewModel = new ArchiveFilterViewModel(ReportArchiveFilter.ArchiveFilter);
     if (DialogService.ShowModalWindow(archiveFilterViewModel))
     {
         ReportArchiveFilter = new ReportArchiveFilter(archiveFilterViewModel);
         refreshCommand.Execute();
     }
 }
Exemplo n.º 2
0
 public DesignerItemBase(ElementBase element)
     : base(element)
 {
     ShowPropertiesCommand = new RelayCommand(OnShowProperties);
     DeleteCommand = new RelayCommand(OnDelete);
     MouseDoubleClick += (s, e) => ShowPropertiesCommand.Execute(null);
     CreateContextMenu();
     IsVisibleLayout = true;
     IsSelectableLayout = true;
 }
Exemplo n.º 3
0
		public void Filter(RelayCommand refreshCommand)
		{
			ArchiveViewModel = new ArchiveViewModel();
			ArchiveViewModel.ShowFilterCommand.Execute();
			refreshCommand.Execute();
		}