//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(); }
public bool ParticipanteExiste(string pCnpjCpf) { mParticipante = new Model_Participante(); return mParticipante.ParticipanteExiste(pCnpjCpf); }
public bool Incluir(Object obj) { mParticipante = new Model_Participante(); return mParticipante.Incluir((Entidade_Participante)obj); }