Example #1
0
 private void bt_pesquisar_Click_1(object sender, EventArgs e)
 {
     foreach (Projeto PR in DE.GetListaProjeto())
     {
         if (PR.GetNumero().ToString() == txt_contribuinte.Text)
         {
             lb_erro.Visible = false;
             lb_nome.Text    = PR.GetNome();
         }
         else
         {
             lb_nome.Visible = false;
         }
     }
 }