Esempio n. 1
0
 private void cmdAddCon_Click(object sender, EventArgs e)
 {
     frmAddConnection frmAddCon = new frmAddConnection();
     frmAddCon.ShowDialog();
     frmAddCon.Close();
     frmAddCon.Dispose();
     RefreshConnection();
 }
Esempio n. 2
0
 private void cmdModifyCon_Click(object sender, EventArgs e)
 {
     if (lstServerce.SelectedItems.Count == 1)
     {
         frmAddConnection mfrm = new frmAddConnection(lstServerce.SelectedItem.ToString());
         mfrm.ShowDialog();
         mfrm.Close();
         mfrm.Dispose();
         RefreshConnection();
     }
 }