public StabilizationForm(ItManager _itManager) { InitializeComponent(); itManager = _itManager; dgvListOfJobs.DataSource = itManager.Jobs; dgvTests.DataSource = itManager.Tests; }
public InitializationForm(ItManager _itManager) { InitializeComponent(); itManager = _itManager; cmbStakeholders.Items.AddRange(itManager.Stakeholders.ToArray()); cmbStakeholders.SelectedIndex = 0; // Чтобы присовить список элементу DataGridView, нужно задать свойства (а не поля) у элементов списка UpdateTableOfEmployees(); UpdateTreeViewKnownRequirements(); }
public PlanningForm(ItManager _itManager) { InitializeComponent(); itManager = _itManager; dgvDevelopersToJob.DataSource = itManager.HiredEmployees; dgvTestersToJob.DataSource = itManager.HiredEmployees; modules = new HashSet <Module>(); foreach (Requirement req in itManager.Requirements) { modules.UnionWith(req.AllSubModules); } dgvModulesToJob.DataSource = modules.Where(x => x.Requirement.IsFound).ToList(); }
public DeploymentForm(ItManager _itManager) { InitializeComponent(); itManager = _itManager; cbSelectStakeholder.SelectedIndex = 0; }