Exemplo n.º 1
0
        private void MakeCoffeeButton_Click(object sender, EventArgs e)
        {
            var form = new CoffeeForm(ref ingredientsService.Ingredients);

            DialogResult dr = form.ShowDialog(this);

            coffeeService.addCoffeeCup(form.GetCoffee());
            form.Close();
        }