Exemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmTeacherDetails fmTeacherDetails = new frmTeacherDetails();

            fmTeacherDetails.Op = "new";
            fmTeacherDetails.ShowDialog(this);
        }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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.ShowDialog(this);
     }
 }
Exemplo n.º 4
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmTeacherDetails fmTeacherDetails = new frmTeacherDetails();
     fmTeacherDetails.Op = "new";
     fmTeacherDetails.ShowDialog(this);
 }