private void SetPaises() { PaisesRepository repo = new PaisesRepository(); List <string> current = new List <string>(); foreach (pais p in current_paises_list) { current.Add(p.nombre); } ListSelectorDialog lsd = new ListSelectorDialog(TOPIC_PAISES, this, repo.List, current); lsd.ShowDialog(); }
private void SetGeneros() { GenerosRepository repo = new GenerosRepository(); List <string> current = new List <string>(); foreach (genero g in current_generos_list) { current.Add(g.nombre); } ListSelectorDialog lsd = new ListSelectorDialog(TOPIC_GENEROS, this, repo.List, current); lsd.ShowDialog(); }