private void toolStripDetail_Click(object sender, EventArgs e) { FrmItemDetail fItemDetail = new FrmItemDetail(CompanyID, WarehouseID, int.Parse(dgStockView.CurrentRow.Cells["Bin_ID"].Value.ToString()), (int.Parse(dgStockView.CurrentRow.Cells["Product_ID"].Value.ToString())), ""); fItemDetail.ShowDialog(); }
private void toolStripButtonTrack_Click(object sender, EventArgs e) { FrmItemDetail fItemDetail = new FrmItemDetail(CompanyID, WarehouseID, 0, 0, dgOrder.CurrentRow.Cells["OrderReference"].Value.ToString()); fItemDetail.ShowDialog(); }