コード例 #1
0
        public AddEditRoleForm()
        {
            InitializeComponent();
            var perfiles = profileMan.GetAllPerfiles();

            if (perfiles.Count > 1)
            {
                cbxPerfiles.DataSource    = perfiles;
                cbxPerfiles.DisplayMember = "Nombre";
                cbxPerfiles.SelectedIndex = 0;
            }
        }