Ejemplo n.º 1
0
 public override void prepare()
 {
     Console.WriteLine("Preparing " + name);
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
     clam   = ingredientFactory.createClam();
 }
Ejemplo n.º 2
0
 public override void prepare()
 {
     Console.WriteLine("Preparing " + name);
     this.dough     = ingredientFactory.createDough();
     this.sauce     = ingredientFactory.createSauce();
     this.cheese    = ingredientFactory.createCheese();
     this.veggies   = ingredientFactory.createVeggies();
     this.pepperoni = ingredientFactory.createPepperoni();
 }
Ejemplo n.º 3
0
 public override void prepare()
 {
     Console.WriteLine("准备:" + name);
     dough     = ingredientFactory.createDough();
     sauce     = ingredientFactory.createSauce();
     cheese    = ingredientFactory.createCheese();
     veggies   = ingredientFactory.createVeggies();
     pepperoni = ingredientFactory.createPepperoni();
 }
Ejemplo n.º 4
0
 void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough     = ingredientFactory.createDough();
     sauce     = ingredientFactory.createSauce();
     cheese    = ingredientFactory.createCheese();
     veggies   = ingredientFactory.createVeggies();
     pepperoni = ingredientFactory.createPepperoni();
 }
Ejemplo n.º 5
0
        public override void prepare()
        {
            Form1 f1 = (Form1)Application.OpenForms["Form1"];

            dough     = ingredientfactory.createDough();
            sauce     = ingredientfactory.createSauce();
            pepperoni = ingredientfactory.createPepperoni();

            f1.GB_Status_AppendText_Nextline(dough, Color.Blue);
            f1.GB_Status_AppendText_Nextline(sauce, Color.Blue);
            f1.GB_Status_AppendText_Nextline(pepperoni, Color.Blue);
        }
Ejemplo n.º 6
0
 public override void Prepare()
 {
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
 }