Example #1
0
        private void comboBoxSabor1_SelectedIndexChanged(object sender, EventArgs e)
        {
            var selecionado = comboBoxSabor1.SelectedItem as Sabor;

            if (selecionado == null)
            {
                return;
            }

            _pizza.AdicionarSabor(selecionado);
        }