Example #1
0
        private void CreateNewConnectionFromRepository(bool wantEmptyScript)
        {
            frmConnectionRepository frm    = new frmConnectionRepository();
            DialogResult            dlgRes = frm.ShowDialog();

            if (dlgRes != DialogResult.OK)
            {
                return;
            }

            OpenConnection(frm.SelectedDataSource);
            if (wantEmptyScript)
            {
                CreateNewScriptEditor();
            }
        }
Example #2
0
        private void dataSourcesRespoitoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmConnectionRepository frm = new frmConnectionRepository();

            frm.ShowDialog();
        }