Пример #1
0
        private void OrderBackButton_Click(object sender, EventArgs e)
        {
            ProductInfoForm productInfoForm = new ProductInfoForm();

            productInfoForm.Show();
            this.Hide();
        }
Пример #2
0
 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();
     }
 }