Пример #1
0
 private void btnTTPM_Click(object sender, EventArgs e)
 {
     if (lnd == null || lnd.IsDisposed)
     {
         lnd = new frmLoaiNguoiDung();
         lnd.MdiParent = frmMain.ActiveForm;
         lnd.Show();
     }
     else lnd.Activate();
 }
Пример #2
0
 private void btnLoaiNguoiDung_Click(object sender, EventArgs e)
 {
     if (m_LoaiNguoiDung == null || m_LoaiNguoiDung.IsDisposed)
     {
         m_LoaiNguoiDung = new frmLoaiNguoiDung();
         m_LoaiNguoiDung.MdiParent = frmMain.ActiveForm;
         m_LoaiNguoiDung.Show();
     }
     else m_LoaiNguoiDung.Activate();
 }