Beispiel #1
0
 private void btnMonhoc_Click(object sender, EventArgs e)
 {
     if (!CheckForm("department"))
     {
         frmMonhoc monHoc = new frmMonhoc();
         monHoc.MdiParent = this;
         pnlThongtin.Controls.Add(monHoc);
         monHoc.Show();
     }
 }
Beispiel #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (!CheckForm("department"))
     {
         frmMonhoc dp = new frmMonhoc();
         dp.MdiParent = this;
         dp.Show();
         dp.Location = new System.Drawing.Point(137, 0);
     }
 }