Example #1
0
 //UPDATE CONNECTION ON FIRST LOAD OR START CREATION FORM
 private void CreateConnectionRepo()
 {
     try
     {
         _connRepo = new ConnectionRepository();
         RefreshCmbConnections();
     }
     catch (Exception ex)
     {
         CreateConnection ConnectionForm = new CreateConnection(this, ex.Message);
         ConnectionForm.ShowDialog();
     }
 }
Example #2
0
        /*================================================================================
        *                          CONNECTIONS TO OTHER FORMS
        *  ================================================================================*/
        #region Toolstrip Based
        /*============================= TOOLSTRIP BASED ================================*/
        //QS CONNECTION DIALOG
        private void newConnectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateConnection ConnectionForm = new CreateConnection(this);

            ConnectionForm.ShowDialog();
        }