private void showProductInfoForm() { ProductInfoForm productInfoForm = new ProductInfoForm(); productInfoForm.Show(); this.Hide(); }
private void nextButton_Click(object sender, EventArgs e) { ProductInfoForm productInfoForm = new ProductInfoForm(getSelectedValue()); productInfoForm.selectForm = this; productInfoForm.Show(); this.Hide(); }