private void btnRegisterStudent_Click(object sender, RoutedEventArgs e) { REG_student reg_stu = new REG_student(); reg_stu.ShowDialog(); LoadScreen(); }
private void btnViewCurrentClass_Click(object sender, RoutedEventArgs e) { REG_student _reg = new REG_student(_class.Class_id); _reg.ShowDialog(); LoadIndex(); }
private void btnEditStudent_Click(object sender, RoutedEventArgs e) { if (TableValues(0) != null) { DAOStudents dao = new DAOStudents(); TOStudent i = new TOStudent(); i = dao.Selection(TableValues(0)); REG_student reg_s = new REG_student(i); reg_s.ShowDialog(); LoadScreen(); } }
private void tblStudents_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (TableValues(0) != null) { DAOStudents dao = new DAOStudents(); TOStudent i = new TOStudent(); i = dao.Selection(TableValues(0)); REG_student reg_s = new REG_student(i); reg_s.ShowDialog(); LoadScreen(); } }