Exemple #1
0
        private void Create_FirmContact_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'trendDataSet.Firm' table. You can move, or remove it, as needed.
            firmTableAdapter.Fill(trendDataSet.Firm);
            // TODO: This line of code loads data into the 'trendDataSet.FirmContact' table. You can move, or remove it, as needed.
            firmContactTableAdapter.Fill(trendDataSet.FirmContact);

            EntitiesToComboBox.FillFirmComboBox(firm_idComboBox);
        }
        public void UpdateComboBoxes()
        {
            EntitiesToComboBox.FillEmployeeComboBox(examiner_idComboBox);
            EntitiesToComboBox.FillFirmComboBox(firm_idComboBox);
            EntitiesToComboBox.FillEmployeeComboBox(comboBoxCdfInfoTech);

            if (firm_idComboBox.SelectedValue != null)
            {
                var firmGuid = new Guid(firm_idComboBox.SelectedValue.ToString());
                EntitiesToComboBox.FillFirmContactComboBoxByFirm(firmGuid, requester_idComboBox);
            }


            // EntitiesToComboBox.FillReferenceComputersComboBox();
            //shouldn't there be a requester entities to combobox here? like fillfirmcontactcombobox or fillfirmcontactcomboboxbyfirm
        }
 private void View_CaseBrowser_Load(object sender, EventArgs e)
 {
     EntitiesToComboBox.FillEmployeeComboBox(examiner_idComboBox, true);
     EntitiesToComboBox.FillFirmComboBox(firm_idComboBox, true);
     EntitiesToComboBox.FillFirmContactComboBox(requester_idComboBox, true);
 }