public AddEditRoleForm() { InitializeComponent(); var perfiles = profileMan.GetAllPerfiles(); if (perfiles.Count > 1) { cbxPerfiles.DataSource = perfiles; cbxPerfiles.DisplayMember = "Nombre"; cbxPerfiles.SelectedIndex = 0; } }