コード例 #1
0
        private void BtnContinue_Click(object sender, EventArgs e)
        {  //starts an order
            FrmChooseBread frmChooseBread = new FrmChooseBread();

            this.Hide();
            frmChooseBread.ShowDialog();
            this.Close();
        }
コード例 #2
0
        private void ClearVariablesStartAnotherSandwhich()
        { // clears all temp sandwich variables and returns to the choose bread form abandoning the current sandwhich
            Program.ProcessOrder.ClearTempSandwhichVars();
            FrmChooseBread frmChooseBread = new FrmChooseBread();

            this.Hide();
            frmChooseBread.ShowDialog();
            this.Close();
        }