Beispiel #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmTeacherDetails fmTeacherDetails = new frmTeacherDetails();

            fmTeacherDetails.Op = "new";
            fmTeacherDetails.Show();
        }
Beispiel #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (gvTeacher.CurrentRow.Index >= 0)
     {
         frmTeacherDetails fmTeacherDetails = new frmTeacherDetails();
         fmTeacherDetails.Op = "edit";
         fmTeacherDetails.SelectedTeacher = teacherSelected;
         fmTeacherDetails.ShowDialog(this);
     }
 }
Beispiel #3
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (gvTeacher.CurrentRow.Index >= 0)
     {
         frmTeacherDetails fmTeacherDetails = new frmTeacherDetails();
         fmTeacherDetails.Op = "edit";
         fmTeacherDetails.SelectedTeacher = teacherSelected;
         fmTeacherDetails.Show();
     }
 }
Beispiel #4
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmTeacherDetails fmTeacherDetails = new frmTeacherDetails();
     fmTeacherDetails.Op = "new";
     fmTeacherDetails.ShowDialog(this);
 }