Ejemplo n.º 1
0
        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;
            
        }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
        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];
            
        }