private void button2_Click(object sender, EventArgs e) { using (buy d = new buy()) { d.ShowDialog(); } }
private void button4_Click(object sender, EventArgs e) { using (buy d = new buy()) { d.ShowDialog(); } stack.Push(112233); MessageBox.Show("Product ID Added to Your Stack", "Done", MessageBoxButtons.OK, MessageBoxIcon.Information); }