private void OrderBackButton_Click(object sender, EventArgs e) { ProductInfoForm productInfoForm = new ProductInfoForm(); productInfoForm.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { if (textBox1.Text == "") { MessageBox.Show("You need to select any item before continue"); } else { ProductInfoForm productInfoForm = new ProductInfoForm(); productInfoForm.Show(); this.Hide(); } }