Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.IO;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace WindowsFormsApp1
- {
- public partial class Avaliação : Form
- {
- public Avaliação()
- {
- InitializeComponent();
- }
- public double altura, peso;
- public int dia, pontos = 0;
- private void altura_TextChanged(object sender, EventArgs e)
- {
- bool resposta = double.TryParse(CaixaAltura.Text, out altura);
- if (resposta == false)
- {
- MessageBox.Show("Altura inválida! Não se aceita pontos \".\"", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
- CaixaAltura.Focus();
- }
- }
- private void ComboMes_SelectedIndexChanged(object sender, EventArgs e)
- {
- bool respota = int.TryParse(ComboDia.SelectedText, out dia);
- if (ComboMes.Text == "Fevereiro" && dia > 28)
- {
- MessageBox.Show("Data inválida!", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
- ComboDia.Focus();
- }
- }
- private void ComboAli_SelectedIndexChanged(object sender, EventArgs e)
- {
- }
- private void ComboPequenoAlmoço_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (ComboPequenoAlmoço.Text == "Cereais com Leite")
- {
- pontos += 3;
- }
- else if (ComboPequenoAlmoço.Text == "Café com Leite + Pão")
- {
- pontos += 2;
- }
- else if (ComboPequenoAlmoço.Text == "Ovos")
- {
- pontos++;
- }
- }
- private void ComboManha_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (ComboPequenoAlmoço.Text == "Cereais com Leite" || ComboPequenoAlmoço.Text == "Café com Leite + Pão")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos+=4;
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate")
- {
- pontos+=2;
- }
- else if (ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- pontos+=3;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboPequenoAlmoço.Text == "Ovos")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate")
- {
- pontos ++;
- }
- else if (ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos+=0;
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos += 4;
- }
- }
- }
- private void ComboAlmoço_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (ComboPequenoAlmoço.Text == "Cereais com Leite" || ComboPequenoAlmoço.Text == "Café com Leite + Pão")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- pontos+=2;
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- pontos+=3;
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- pontos+=4;
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- pontos+=5;
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- pontos+=6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate" || ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- pontos += 2;
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- pontos += 5;
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- pontos += 3;
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- pontos += 5;
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- }
- else if (ComboPequenoAlmoço.Text == "Ovos")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- pontos+=0;
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- pontos += 6;
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- pontos ++;
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- pontos += 3;
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate" || ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- pontos += 5;
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- pontos++;
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- pontos += 2;
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- pontos += 4;
- }
- else
- {
- pontos += 6;
- }
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- pontos += 5;
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- pontos++;
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- pontos += 2;
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- pontos += 4;
- }
- else
- {
- pontos += 6;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- }
- private void ComboTarde_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (ComboPequenoAlmoço.Text == "Cereais com Leite" || ComboPequenoAlmoço.Text == "Café com Leite + Pão")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos+=4;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos+=3;
- }
- else
- {
- pontos+=0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 4;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 4;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 4;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate" || ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos +=0;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos +=3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos+=0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos ++;
- }
- else
- {
- pontos += 2;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos+=3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos+=2;
- }
- else
- {
- pontos+=0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos+=3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos ++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos +=2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos++;
- }
- }
- }
- else if (ComboPequenoAlmoço.Text == "Ovos")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate" || ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos ++;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos+=0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos++;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- }
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos+=0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos +=3;
- }
- else
- {
- pontos ++;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- pontos += 2;
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- pontos += 0;
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- pontos += 3;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- }
- }
- else
- {
- }
- }
- }
- private void ComboJantar_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (ComboPequenoAlmoço.Text == "Cereais com Leite" || ComboPequenoAlmoço.Text == "Café com Leite + Pão")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate" || ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos +=0;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos ++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else
- {
- pontos ++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 5;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos++;
- }
- }
- }
- else if (ComboPequenoAlmoço.Text == "Ovos")
- {
- if (ComboManha.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos+=2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos ++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos +=0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos+=0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboManha.Text == "Croissant + Sumo/Leite com Chocolate" || ComboManha.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos+=2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos ++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 2;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 3;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos+=0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos ++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos += 0;
- }
- }
- else
- {
- }
- }
- else if (ComboManha.Text == "Barra de Cereais + Sumo/Leite com Chocolate")
- {
- if (ComboAlmoço.Text == "Snacks")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Comida Italiana")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Arroz + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Carne")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboAlmoço.Text == "Batatas + Peixe")
- {
- if (ComboTarde.Text == "Pão + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Croissant + Sumo/Leite com Chocolate" || ComboTarde.Text == "Lanche + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else if (ComboTarde.Text == "Barra de cereais + Sumo/Leite com Chocolate")
- {
- if (ComboJantar.Text == "Snacks")
- {
- pontos += 0;
- }
- else if (ComboJantar.Text == "Comida Italiana")
- {
- pontos++;
- }
- else if (ComboJantar.Text == "Arroz + Carne")
- {
- pontos += 3;
- }
- else if (ComboJantar.Text == "Arroz + Peixe")
- {
- pontos += 5;
- }
- else if (ComboJantar.Text == "Batatas + Carne")
- {
- pontos += 4;
- }
- else if (ComboJantar.Text == "Batatas + Peixe")
- {
- pontos += 6;
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- pontos++;
- }
- }
- else
- {
- }
- }
- else
- {
- }
- }
- }
- private void BotaoExp_Click(object sender, EventArgs e)
- {
- SaveFileDialog guardar = new SaveFileDialog();
- guardar.Filter = "Ficheiro de Texto | *.txt";
- guardar.FileName = nome.Text;
- if (guardar.ShowDialog() == DialogResult.OK)
- {
- string escrever;
- double total = (pontos * 100) / 23, imc = Math.Round(peso / Math.Pow(altura, 2), 2);
- if (total < 12.5)
- {
- escrever = "Nome: " + nome.Text + "\nData de nascimento: " + ComboDia.Text + ComboMes.Text + ComboAno.Text + "\nIMC: " + imc + "\nEstado: Não Saudável\nPontos: " + total + " (em total de 25 pontos)\n";
- }
- else
- {
- escrever = "Nome: " + nome.Text + "\nData de nascimento: " + ComboDia.Text + ComboMes.Text + ComboAno.Text + "\nIMC: " + imc + "\nEstado: Saudável\nPontos: " + total + " (em total de 25 pontos)\n";
- }
- string caminho = guardar.FileName;
- BinaryWriter binaryWriter = new BinaryWriter(File.Create(caminho));
- binaryWriter.Write(escrever);
- binaryWriter.Dispose();
- }
- }
- private void ComboAtividade_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (ComboAtividade.Text == "Fraca (0 - 1 vez por semana)")
- {
- pontos++;
- }
- else if (ComboAtividade.Text == "Média (2 - 3 vezes por semana)")
- {
- pontos += 2;
- }
- else if (ComboAtividade.Text == "Alta (3 - 5 vez por semana)")
- {
- pontos += 3;
- }
- else if (ComboAtividade.Text == "Extrema (5 - 7 vez por semana)")
- {
- pontos += 4;
- }
- }
- private void CaixaPeso_TextChanged(object sender, EventArgs e)
- {
- bool resposta = double.TryParse(CaixaPeso.Text, out peso);
- if (resposta == false)
- {
- MessageBox.Show("Peso inválido! Não se aceita pontos \".\"", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
- CaixaAltura.Focus();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement