private void btnThemDVT_Click(object sender, EventArgs e)
        {
            frmDonViTinh DVT = new frmDonViTinh();

            DVT.ShowDialog();
            ctrlDVT.HienthiAutoComboBox(cmbDVT);
        }
Пример #2
0
 private void mnuDonViTinh_Click(object sender, EventArgs e)
 {
     if (DonViTinh == null || DonViTinh.IsDisposed)
     {
         DonViTinh           = new frmDonViTinh();
         DonViTinh.MdiParent = this;
         DonViTinh.Show();
     }
     else
     {
         DonViTinh.Activate();
     }
 }