private void dataGridViewFactPochFond_DoubleClick(object sender, EventArgs e) { CourseInWork ciw = (CourseInWork)(bindingSourceFactPochFond.Current); FormCourseInWorkInfo fciwi = new FormCourseInWorkInfo(ciw, myDatabase); fciwi.ShowDialog(); }
private void dataGridViewFormalAndFact_MouseDoubleClick(object sender, MouseEventArgs e) { CourseInWork ciw = (CourseInWork)(bindingSourceFormalAndFact.Current); FormCourseInWorkInfo fciwi = new FormCourseInWorkInfo(ciw, myDatabase); fciwi.ShowDialog(); }