private void BtnContinue_Click(object sender, EventArgs e) { //starts an order FrmChooseBread frmChooseBread = new FrmChooseBread(); this.Hide(); frmChooseBread.ShowDialog(); this.Close(); }
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(); }