コード例 #1
0
ファイル: NuevoRol.cs プロジェクト: kevinwagner96/GD2019
 private void CargarFuncionalidades()
 {
     funcionalidades = data.Select(out exError);
     funcionalidades.ForEach(delegate(Funcionalidad f)
     {
         checkedListFuncionalidades.Items.Add(f.fun_nombre);
     });
 }
コード例 #2
0
        private void CargarFuncionalidades()
        {
            funcionalidades = fdata.Select(out exError);
            if (exError != null)
            {
                MessageBox.Show("Erro al cargar Rol, " + exError.Message, "Rol", MessageBoxButtons.OK, MessageBoxIcon.Error);
                this.Close();
            }

            funcionalidades.ForEach(delegate(Funcionalidad f)
            {
                checkedListFuncionalidades.Items.Add(f.fun_nombre);
            });
        }