private void dataGrid1_CurrentCellChanged(object sender, EventArgs e) { int id = Convert.ToInt32(dataGrid1[dataGrid1.CurrentCell.RowNumber, 0]); Get_MaterialIssuance.miid = id; frmScanner scan = new frmScanner("MateialIssuance"); scan.Show(); }
private void btnDetails_Click(object sender, EventArgs e) { frmScanner prd = new frmScanner("Stock"); prd.Show(); }
// Save a reference to the form so it can // be notified when messages are received. public MsgWindow(frmScanner msgform) { this.msgform = msgform; }