Beispiel #1
0
 public WorkerVM()
 {
     _workerCatalog     = WorkerCatalog.Instance;
     _workers           = _workerCatalog.Workers;
     _displayWorkers    = _workerCatalog.Workers;
     _deleteCommand     = new RelayCommand(Delete, OrderIsSelected);
     _workerEditCommand = new WorkerEditCommand(this, _workerCatalog);
 }
Beispiel #2
0
 public WorkerEditCommand(WorkerVM Worker, WorkerCatalog workerCatalog)
 {
     _workerCatalog = workerCatalog;
     _workerVM      = Worker;
 }