Пример #1
0
 private void sINHVIÊNToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (sv == null)
     {
         sv             = new Student_Form();
         sv.FormClosed += new FormClosedEventHandler(SinhVien_Form_FormClosed);
         sv.MdiParent   = this;
         sv.Show();
     }
     else
     {
         sv.Activate();
     }
 }
Пример #2
0
 private void SinhVien_Form_FormClosed(object sender, FormClosedEventArgs e)
 {
     sv = null;
 }