Exemple #1
0
        private void NextButton_Click(object sender, EventArgs e)
        {
            ProductInfoForm productInfoForm = new ProductInfoForm();

            productInfoForm.previousForm = this;
            productInfoForm.Show();
            this.Hide();
        }
Exemple #2
0
        /// <summary>
        /// Create new product info form and show it
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OpenSavedOrderButton_Click(object sender, EventArgs e)
        {
            Program.openFromFile = true;
            ProductInfoForm productInfoForm = new ProductInfoForm();

            productInfoForm.Show();
            this.Hide();
        }