private void grvListTrans_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex > -1 && this.grvListTrans.Columns[e.ColumnIndex] is DataGridViewCheckBoxColumn) { grvListTrans.EndEdit(); Frm_Transaction_History.cardnbr = grvListTrans["card_number_full", e.RowIndex].Value.ToString();//cardnumber //Frm_Transaction_History.arn = grvListTrans[1, e.RowIndex].Value.ToString(); //Frm_Transaction_History.sequence = grvListTrans[11, e.RowIndex].Value.ToString(); Frm_Transaction_History.arn = grvListTrans["microfilm_ref_number", e.RowIndex].Value.ToString(); Frm_Transaction_History.sequence = grvListTrans["SEQUENCE_NUMBER", e.RowIndex].Value.ToString(); Frm_Transaction_History auth = new Frm_Transaction_History(); auth.ShowDialog(); grvListTrans[e.ColumnIndex, e.RowIndex].Value = false; } }
private void tranonHistorysactToolStripMenuItem_Click(object sender, EventArgs e) { Frm_Transaction_History frm = new Frm_Transaction_History(); frm.ShowDialog(); }