Пример #1
0
 public View4VM()
 {
     addCommand = new RelayCommand(AddExecute, param => AddCanExecute);
     deleteCommand = new RelayCommand(DeleteExecute, param => DeleteCanExecute);
     undoCommand = new RelayCommand(UndoExecute, param => UndoCanExecute);
     redoCommand = new RelayCommand(RedoExecute, param => RedoCanExecute);
 }
Пример #2
0
 public View1VM()
 {
     fireEventCommand = new RelayCommand(FireEventExecute);
 }