Example #1
0
 private void cmsServer_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
 {
     if (e.ClickedItem.Name == "tsmCreateDataBase")
     {
         FrmCreateDataBase frmCdb = new FrmCreateDataBase(lstDb);
         DialogResult dr = frmCdb.ShowDialog(this);
         if (dr == System.Windows.Forms.DialogResult.OK)
             populateTreeView();
     }
 }
Example #2
0
 private void tsmCreateDataBase_Click(object sender, EventArgs e)
 {
     FrmCreateDataBase frmCdb = new FrmCreateDataBase(_lstDb);
     DialogResult dr = frmCdb.ShowDialog(this);
     if (dr == System.Windows.Forms.DialogResult.OK)
         populateTreeView();
 }