Example #1
0
 private void danhSáchĐốiTượngToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (KTbaocaods == false)
     {
         KTbaocaods = true;
         BCdanhsach ds = new BCdanhsach();
         ds.MdiParent = this;
         ds.Show();
     }
 }
Example #2
0
 private void btnbaocao_Click(object sender, EventArgs e)
 {
     if (MainForm.KTbaocaods == false)
     {
         MainForm f = (MainForm)this.MdiParent;
         BCdanhsach bc = new BCdanhsach();
         bc.MdiParent = f;
         bc.Show();
     }
     
 }