Exemple #1
0
 public AllProjectSettingsViewModel(ProjectSettingServiceClass ProjectSettingService, ProjectServiceClass projectService)
 {
     _ProjectSettingService = ProjectSettingService;
     _projectService        = projectService;
     this.CreateAllProjectSettings(_ProjectSettingService.Items);
     _ProjectSettingService.Items.CollectionChanged += Items_CollectionChanged;
 }
Exemple #2
0
 public AllProjectsViewModel(TesterServiceClass testerService, ProjectServiceClass projectService, BatteryTypeServiceClass batteryTypeServie, ProgramServiceClass programService, ProjectSettingServiceClass projectSettingService, TableMakerProductServiceClass tableMakerProductService)
 {
     _testerService            = testerService;
     _projectService           = projectService;
     _batteryTypeService       = batteryTypeServie;
     _programService           = programService;
     _projectSettingService    = projectSettingService;
     _tableMakerProductService = tableMakerProductService;
     this.CreateAllProjects(_projectService.Items);
     _projectService.Items.CollectionChanged += Items_CollectionChanged;
 }