protected MainWindowVM(Service.IUpdateTimerDialogService dlgSvc) { this.dlgSvc = dlgSvc; TimerCollection = new ObservableCollection <ActivityTimerVM>(); TimerCollection.CollectionChanged += TimerCollection_CollectionChanged; ReadData(); StartMasterTimer(); }
public static MainWindowVM Create(Service.IUpdateTimerDialogService dlgSvc) { return(ViewModelSource.Create(() => new MainWindowVM(dlgSvc))); }