예제 #1
0
 public UpdateTeacherWindow(SearchTeacherWindow searchTeacher)
 {
     InitializeComponent();
     this.searchTeacher = searchTeacher;
     frmSearchTeacher.Content = this.searchTeacher;
     this.searchTeacher.SetInitialState();
     this.searchTeacher.SelectedTeacherChange += SelectedTeacherChanged;
 }
예제 #2
0
 private void btnAssignTeacher_Click(object sender, RoutedEventArgs e)
 {
     if (searchTeacher == null)
     {
         searchTeacher = new SearchTeacherWindow();
     }
     frmAdministratorContent.Content = new AssignTeacherWindow(searchTeacher);
 }
예제 #3
0
 public AssignTeacherWindow(SearchTeacherWindow searchTeacher)
 {
     InitializeComponent();
     this.searchTeacher = searchTeacher;
     frmSearchWindow.Content = searchTeacher;
 }
예제 #4
0
 public AddTeacherWindow(SearchTeacherWindow searchTeacher)
 {
     InitializeComponent();
     this.searchTeacher = searchTeacher;
     frmSearchTeacher.Content = this.searchTeacher;
 }