private void ordSysGrid_DblClicked(object sender, DataGridViewCellEventArgs e) { int rowIndex = e.RowIndex; frm_UpdOrdSys editStoreForm = new frm_UpdOrdSys(Set.OrdSysList[rowIndex]); editStoreForm.FormClosed += frm_UpdOrdSys_FormClosed; editStoreForm.Show(); }
private void ordSysGrid_DblClicked(object sender, DataGridViewCellEventArgs e) { int rowIndex = e.RowIndex; DataGridViewRow row = Gridview_OS.Rows[rowIndex]; frm_UpdOrdSys editStoreForm = new frm_UpdOrdSys(row); editStoreForm.FormClosed += frm_UpdOrdSys_FormClosed; editStoreForm.Show(); }