private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            UpdateDeleteCourseForm updateDeleteCourse = new UpdateDeleteCourseForm();

            updateDeleteCourse.textBoxID.Text        = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            updateDeleteCourse.textCourseName.Text   = dataGridView1.CurrentRow.Cells[1].Value.ToString();
            updateDeleteCourse.textCourseCode.Text   = dataGridView1.CurrentRow.Cells[2].Value.ToString();
            updateDeleteCourse.textCourseCredit.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
            updateDeleteCourse.Show();
        }
Beispiel #2
0
 public UpdateDeleteCoursePresenter(UpdateDeleteCourseForm updateDeleteform)
 {
     this.updateDeleteform = updateDeleteform;
 }
 public DisplayCoursePresenter(UpdateDeleteCourseForm upDelForm)
 {
     this.upDelForm = upDelForm;
 }