private void OpenSavedOrderButton_Click(object sender, EventArgs e) { //open product info form when open button is clicked ProductInfoForm productInfoForm = new ProductInfoForm(); productInfoForm.previousForm = this; productInfoForm.Show(); productInfoForm.loadData(); this.Hide(); }