Beispiel #1
0
        private void frmIncidentAssignment_Load(object sender, EventArgs e)
        {
            SQLDataContext.SetConnectionString(ConfigurationManager.
                                               ConnectionStrings["SportsPro.Properties.Settings.TechSupportConnectionString"].
                                               ConnectionString);

            techSupport = SQLDataContext.GetTechSupportDataContext();

            InitializeUI();
        }
Beispiel #2
0
        private void frmCustomerIncidents_Load(object sender, EventArgs e)
        {
            SQLDataContext.SetConnectionString(ConfigurationManager.
                                               ConnectionStrings["SportsPro.Properties.Settings.TechSupportConnectionString"].
                                               ConnectionString);

            techSupport = SQLDataContext.GetTechSupportDataContext();

            LoadCustomerList();
            nameComboBox.SelectedIndex = 0;
        }
Beispiel #3
0
        private void frmUnassignedIncidents_Load(object sender, EventArgs e)
        {
            SQLDataContext.SetConnectionString(ConfigurationManager.
                                               ConnectionStrings["SportsPro.Properties.Settings.TechSupportConnectionString"].
                                               ConnectionString);

            techSupport = SQLDataContext.GetTechSupportDataContext();
            LoadUnassignedIncidents();

            //set up currency control
            cm = (CurrencyManager)sQLIncidentDataGridView.BindingContext[incidentList];
        }