private void GoBack_Click(object sender, EventArgs e) { Pizzamenu pm = new Pizzamenu(); this.Hide(); pm.ShowDialog(); }
private void Order_Click(object sender, EventArgs e) { if (Nametext.Text == "" || Phone.Text == "") { MessageBox.Show("Please Enter a Customer"); } else { sendname = Nametext.Text; sendphone = Phone.Text; Pizzamenu pm = new Pizzamenu(); this.Hide(); pm.ShowDialog(); } }