public FrmTeacher(int Id)
 {
     try
     {
         InitializeComponent();
         schoolMan = new SchoolManager();
         _teacher  = new Teacher();
         _id       = Id;
         if (_id != -1)
         {
             _teacher     = schoolMan.GetTeacherById(_id);
             txtName.Text = _teacher.Name;
         }
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         _teacher = new Teacher();
     }
     finally
     {
         isFormLoaded = true;
     }
 }