示例#1
0
        private void GoBack_Click(object sender, EventArgs e)
        {
            Pizzamenu pm = new Pizzamenu();

            this.Hide();
            pm.ShowDialog();
        }
示例#2
0
        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();
            }
        }