//public int Id
 //{
 //    get
 //    {
 //        return int.Parse(CboParticipante.SelectedValue.ToString());
 //    }
 //    set
 //    {
 //        CboParticipante.SelectedValue = value;
 //    }
 //}
 public void Preencher()
 {
     mParticipante = new Model_Participante();
     CboParticipante.DisplayMember = "NomeFormatado";
     CboParticipante.ValueMember = "Codigo";
     CboParticipante.DataSource = mParticipante.Pesquisa();
 }
Beispiel #2
0
        public bool ParticipanteExiste(string pCnpjCpf)
        {
            mParticipante = new Model_Participante();

            return mParticipante.ParticipanteExiste(pCnpjCpf);
        }
Beispiel #3
0
        public bool Incluir(Object obj)
        {
            mParticipante = new Model_Participante();

            return mParticipante.Incluir((Entidade_Participante)obj);
        }