예제 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmStudentDetails fmStudentDetails = new frmStudentDetails();

            fmStudentDetails.Op = "new";
            fmStudentDetails.ShowDialog(this);
        }
예제 #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (gvStudent.CurrentRow.Index >= 0)
     {
         frmStudentDetails fmStudentDetails = new frmStudentDetails();
         fmStudentDetails.Op = "edit";
         fmStudentDetails.SelectedStudent = studentSelected;
         fmStudentDetails.Show();
     }
 }
예제 #3
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (gvStudent.CurrentRow.Index >= 0)
     {
         frmStudentDetails fmStudentDetails = new frmStudentDetails();
         fmStudentDetails.Op = "edit";
         fmStudentDetails.SelectedStudent = studentSelected;
         fmStudentDetails.Show();
     }
 }
예제 #4
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (gvStudent.CurrentRow == null)
                return;

            if (gvStudent.CurrentRow.Index >= 0 && GlobalClass.userTypeCode != "cash")
            {
                frmStudentDetails fmStudentDetails = new frmStudentDetails();
                fmStudentDetails.Op = "edit";
                fmStudentDetails.SelectedStudent = studentSelected;
                fmStudentDetails.ShowDialog(this);
            }
        }
예제 #5
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (gvStudent.CurrentRow == null)
            {
                return;
            }

            if (gvStudent.CurrentRow.Index >= 0 && GlobalClass.userTypeCode != "cash")
            {
                frmStudentDetails fmStudentDetails = new frmStudentDetails();
                fmStudentDetails.Op = "edit";
                fmStudentDetails.SelectedStudent = studentSelected;
                fmStudentDetails.ShowDialog(this);
            }
        }
예제 #6
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmStudentDetails fmStudentDetails = new frmStudentDetails();
     fmStudentDetails.Op = "new";
     fmStudentDetails.ShowDialog(this);
 }