private void btnSaveEditTeacher_Click(object sender, RoutedEventArgs e) { int result = 0; result = Teacher.SaveEditTeacher(this, teacherID); if (result >= 0) { MessageBox.Show("El registro se ha guardado"); Vistas.add_View(Content, new Alta_Baja_Maestros()); } else { MessageBox.Show("WARNING!! El registro NO se ha guardado"); } }
private void btnSalir_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new TableGroupsView()); }
private void btnNomina_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new TableTeacherGroup()); }
private void btnAsistencia_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new AsistenciaMaestros()); }
private void btnStudentsPayment_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new StudentPayment()); }
private void btnAddStudent_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new TableStudents()); }
private void btnLogo_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new MainView()); }
private void btnCoursesSettings_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new CalendarView()); }
private void btnSalir_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new Alumnos()); }
private void BtnAddGroup_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new NewGroup()); }
private void btnAddTeacher_Click(object sender, RoutedEventArgs e) { //this.Visibility = Visibility.Hidden; Vistas.add_View(Content, new AddTeacher()); }
private void menuBtn_Ganancias_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new GananciasView()); }
private void menuBtn_Maestros_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new MaestrosView()); }
private void menuBtn_Alumnos_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new Alumnos()); }
private void btnCloseAddTeacher_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new Alta_Baja_Maestros()); }
private void btnEdit_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new AddStudent(myDataGrid.SelectedItem)); }
private void btnVerNomina_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new NominaMaestros(this)); }
private void btnAddCiclo_Click(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new CalendarView()); }
private void Window_Loaded(object sender, RoutedEventArgs e) { Vistas.add_View(Content, new MainView()); }