Ejemplo n.º 1
0
        private void frmCreateIncident_Load(object sender, EventArgs e)
        {
            TechSupportDB.SetConnectionString(ConfigurationManager.
                                              ConnectionStrings["SportsPro.Properties.Settings.TechSupportConnectionString"].
                                              ConnectionString);

            PopulateComboBoxes();
        }
Ejemplo n.º 2
0
        private void frmOpenIncidents_Load(object sender, EventArgs e)
        {
            TechSupportDB.SetConnectionString(ConfigurationManager.
                                              ConnectionStrings["SportsPro.Properties.Settings.TechSupportConnectionString"].
                                              ConnectionString);

            //TechSupportDB.SetConnectionString("Data Source=localhost;Initial Catalog=TechSupportx;Integrated Security=True");

            PopulateIncidentsList();
        }
Ejemplo n.º 3
0
        private void frmTechnicianIncidents_Load(object sender, EventArgs e)
        {
            TechSupportDB.SetConnectionString(ConfigurationManager.
                                              ConnectionStrings["SportsPro.Properties.Settings.TechSupportConnectionString"].
                                              ConnectionString);

            technicianList          = TechnicianDB.GetTechnicianList();
            nameComboBox.DataSource = technicianList;

            nameComboBox.SelectedIndex = 0;
        }