public StabilizationForm(ItManager _itManager)
 {
     InitializeComponent();
     itManager = _itManager;
     dgvListOfJobs.DataSource = itManager.Jobs;
     dgvTests.DataSource      = itManager.Tests;
 }
예제 #2
0
        public InitializationForm(ItManager _itManager)
        {
            InitializeComponent();
            itManager = _itManager;
            cmbStakeholders.Items.AddRange(itManager.Stakeholders.ToArray());
            cmbStakeholders.SelectedIndex = 0;

            // Чтобы присовить список элементу DataGridView, нужно задать свойства (а не поля) у элементов списка
            UpdateTableOfEmployees();
            UpdateTreeViewKnownRequirements();
        }
예제 #3
0
        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();
        }
예제 #4
0
 public DeploymentForm(ItManager _itManager)
 {
     InitializeComponent();
     itManager = _itManager;
     cbSelectStakeholder.SelectedIndex = 0;
 }