Exemplo n.º 1
0
 private void Add_GotFocus(object sender, RoutedEventArgs e)
 {
     if (OldTab != "Add")
     {
         AddLessonToTrainee_uc.initializeData();
         AddTest_uc.initializeData();
         AddAutoTest_uc.initializeData();
     }
     OldTab = "Add";
 }
Exemplo n.º 2
0
 private void Update_GotFocus(object sender, RoutedEventArgs e)
 {
     if (OldTab != "Update")
     {
         updateTrainee_uc.initializeData();
         UpdateTester_uc.initializeData();
         finishTest_uc.initializeData();
         AddLessonToTrainee_uc.initializeData();
     }
     OldTab = "Update";
 }