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(); }