static public string createDisplay(string ingredient, int i) { var orderingApp = new Ordering(); orderingApp.lblArrayDisplay.Text = "testing"; //= "Cheese: \n" + orderingApp.allChosenCheeses + "\nTopping: \n" + allChosenToppings + "\nSauce: \n" + allChosenSauces; string displayOrder = orderingApp.optionsArray[i] = ingredient + "\n"; return displayOrder; }
static public string createBun(string _bunType) { var orderingApp = new Ordering(); var bunType = _bunType; return bunType; //orderingApp.btnNext.Enabled = true; //orderingApp.lblStackBun.Text = _bunType; // orderingApp.btnPrev.Enabled = true; }
static public string createSauces(string _sauceType) { var orderingApp = new Ordering(); var sauceType = _sauceType; return sauceType; //orderingApp.optionsArray[1] = cheeseType; //orderingApp.lblStack.Text += orderingApp.optionsArray[1]; //orderingApp.btnPrev.Enabled = true; //orderingApp.btnNext.Enabled = true; }
static public string createTopping(string _toppingType) { var orderingApp = new Ordering(); var toppingType = _toppingType; return toppingType; //orderingApp.btnPrev.Enabled = true; //orderingApp.btnNext.Enabled = true; //orderingApp.optionsArray[1] = cheeseType; //orderingApp.lblStack.Text += orderingApp.optionsArray[1]; }