Пример #1
0
 private void CappuccinoOpt_CheckedChanged(object sender, EventArgs e)
 {
     PainelDigital.Clear();
     EnableButtons();
     PainelDigital.Text = "São 3 reais e 50 centavos";
     ValorDoCafe        = 3.5F;
 }
Пример #2
0
 private void CafeComLeiteOpt_CheckedChanged(object sender, EventArgs e)
 {
     PainelDigital.Clear();
     EnableButtons();
     PainelDigital.Text = "São 3 reais";
     ValorDoCafe        = 3.0F;
 }
Пример #3
0
 private void MochaOpt_CheckedChanged(object sender, EventArgs e)
 {
     PainelDigital.Clear();
     EnableButtons();
     PainelDigital.Text = "São 4 reais";
     ValorDoCafe        = 4.0F;
 }