private void PrencheerCombo() { var listaSetor = controles.listarSetor(); foreach (Setor setor in listaSetor) { txtSetor.Items.Add(setor.Tipo); } }
public void PrencheerCombo() { var listaSetor = controle.listarSetor(); foreach (Setor setor in listaSetor) { txtPesquisaSetor.Items.Add(setor.Tipo); } }