private void issueGoodsToolStripMenuItem_Click(object sender, EventArgs e) { int product_id = (int)dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Cells["id"].Value; issue_goods_form ig = new issue_goods_form(product_id); ig.ShowDialog(); view_inventory(); }
private void issueGoodsToolStripMenuItem_Click(object sender, EventArgs e) { issue_goods_form ig = new issue_goods_form(); ig.ShowDialog(); }