private void addLecturerButton_Click(object sender, EventArgs e)
 {
     //Opens a New Window for Adding a new Lecturer.
     Edit_Lecturer addNewLecturer = new Edit_Lecturer();
     addNewLecturer.Show();
 }
 private void editLecturerButton_Click(object sender, EventArgs e)
 {
     Domain.Lecturer theLec= controller.getDBHelper().getLecturerById(selectedRowString) ;
     Edit_Lecturer editLecturer = new Edit_Lecturer(theLec);
     editLecturer.Show();
 }
示例#3
0
 private void addLecturer_Click(object sender, EventArgs e)
 {
     Edit_Lecturer openWindow = new Edit_Lecturer();
     openWindow.Show();
 }