private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         Glue.ChangeFac(int.Parse(StudentNumberTB.Text), NewFacultyTB.Text);
     }
     catch (Exception a)
     {
         Error.GetError(a);
     }
     MainWindow.Reset();
     Close();
 }