private void FormAddSubject_FormClosed(object sender, FormClosedEventArgs e)
 {
     _instance = null;
     if (form != null)
     {
         if (form.GetType() == typeof(FormAddNewTeacher))
         {
             FormAddNewTeacher formTeacher = (FormAddNewTeacher)form;
             formTeacher.LoadSubjectList();
         }
         else if (form.GetType() == typeof(FormAddClassSubject))
         {
             FormAddClassSubject formClassSec = (FormAddClassSubject)form;
             formClassSec.LoadSubjectList();
         }
     }
 }
 private void FormAddNewTeacher_FormClosed(object sender, FormClosedEventArgs e)
 {
     _instance = null;
 }
 private void FormAddEmployee_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instance = null;
 }