Ejemplo n.º 1
0
 /// <summary>
 /// FOrm load populates combobox
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void viewIncidentsByTechnician_Load(object sender, EventArgs e)
 {
     try
     {
         this.technicianList = newTechnicianController.GETTechnicianListFromDBWithOpenIncidents();
         technicianNameComboBox.DataSource = technicianList;
     }
     catch (Exception ex)
     {
         MessageBox.Show("" + ex.Message,
                         "Error!!", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }