private void NextButton_Click(object sender, EventArgs e) { ProductInfoForm productInfoForm = new ProductInfoForm(); productInfoForm.previousForm = this; productInfoForm.Show(); this.Hide(); }
/// <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(); }