private void dgvIssues_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int index = dgvIssues.CurrentRow.Index; Guid serviceIssueId = new Guid(dgvIssues.Rows[index].Cells["ServiceIssueId"].Value.ToString()); ServiceIssue serviceIssue = new ServiceIssue(serviceIssueId); frmServiceIssue frmServiceIssue = new frmServiceIssue(frmMain_Parent, serviceIssue); frmServiceIssue.FormClosed += frmServiceIssue_FormClosed; }
private void btnNewIssue_Click(object sender, EventArgs e) { frmServiceIssue frmServiceIssue = new frmServiceIssue(frmMain_Parent, CurrentPlanRecordKeeperProduct); frmServiceIssue.FormClosed += frmServiceIssue_FormClosed; }
private void btnNewIssue_Click(object sender, EventArgs e) { frmServiceIssue frmServiceIssue = new frmServiceIssue(frmMain_Parent, CurrentRK); frmServiceIssue.FormClosed += frmServiceIssue_FormClosed; }