private void LoaiVay_Click(object sender, EventArgs e)
 {
     if (LoaiVayfrm == null || LoaiVayfrm.IsDisposed)
     {
         LoaiVayfrm           = new frmLoaiVay();
         LoaiVayfrm.MdiParent = this;
         LoaiVayfrm.Show();
     }
     else
     {
         LoaiVayfrm.Activate();
     }
 }
Exemplo n.º 2
0
        private void btnThemloaivay_Click(object sender, EventArgs e)
        {
            frmLoaiVay LV = new frmLoaiVay();

            LV.ShowDialog();
        }