Esempio n. 1
0
 public void IntitializeViewModel(IJobsAndTriggersViewModel viewModel, IAddMaintenanceSchedulerViewModel viewModel2)
 {
     this.viewModel              = viewModel;
     viewModel.UpdateTrigersDgv += ViewModel_UpdateTrigersDgv;
     viewModel.SubscribeToJobExecution();
     triggersDgv.DataSource = viewModel.Triggers;
 }
 public void InitializeViewModel(IAddMaintenanceSchedulerViewModel viewModel)
 {
     this.viewModel        = viewModel;
     jobTypesCb.DataSource = viewModel.JobAndTrigger.JobTypes;
     AddBindings();
 }