private void dgvFeedback_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int index = dgvFeedback.CurrentRow.Index; Guid feedbackId = new Guid(dgvFeedback.Rows[index].Cells["FeedbackId"].Value.ToString()); Feedback feedback = new Feedback(feedbackId); frmQualityAssurancePopup frmQAPopup = new frmQualityAssurancePopup(feedback); frmQAPopup.FormClosed += frmQualityAssurancePopup_FormClosed; }
private void dgvCrashes_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int index = dgvCrashes.CurrentRow.Index; Guid crashId = new Guid(dgvCrashes.Rows[index].Cells["ApplicationErrorId"].Value.ToString()); ApplicationError crash = new ApplicationError(crashId); frmQualityAssurancePopup frmQAPopup = new frmQualityAssurancePopup(crash); frmQAPopup.FormClosed += frmQualityAssurancePopup_FormClosed; }