Example #1
0
 private void sQLEditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     EditQueryF f = new EditQueryF(server, databasename, user, pass);
     f.MdiParent = this;
     f.Show();
 }
Example #2
0
        private void PopulareTreeView_DragLeave(object sender, EventArgs e)
        {
            try
            {
                if(tabList.Exists(element => element == draggedNodeText))
                {
                EditQueryF f = new EditQueryF(FormularPrincipal.fMDI.getConnString(), draggedNodeText);
                f.MdiParent = FormularPrincipal.fMDI;
                f.Show();
                }

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }