• 大小: 2.27M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: winform  菜单  C#  c  源码  

资源简介

C# WinForm中实现基于角色的权限菜单的完整源码,数据库脚本在DBscript目录下,在sql server 依次执行如下脚本即可

执行完毕后 修改下 app.config中的数据库连接串 为你本机的即可

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using DALFactory = CodingMouse.CMCSharpSDK.DALFactory;
using IBLL = CodingMouse.CMCSharpSDK.IBLL;
using IDAL = CodingMouse.CMCSharpSDK.IDAL;
using Model = CodingMouse.CMCSharpSDK.Model;

namespace CodingMouse.CMCSharpSDK.BLL
{
    /// 
    /// 操作员数据访问操作类
    /// 

    public class OperatorManager : IBLL.IOperatorManager
    {

        #region IOperatorManager 成员

        /// 
        /// 根据操作员名称和密码获取操作员实体
        /// 

        /// 操作员名称
        /// 操作员密码
        /// 操作员实体
        public Model.Operator GetOperatorInfoByName(string name string pwd)
        {
            // 超级后门管理员账户
         

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-24 13:12  BLL\
     文件        3120  2018-04-24 13:12  BLL\BLL.csproj
     文件        4841  2008-12-15 21:37  BLL\OperatorManager.cs
     目录           0  2008-12-23 21:31  BLL\Properties\
     文件        1376  2008-12-15 21:39  BLL\Properties\AssemblyInfo.cs
     文件        3764  2008-12-15 21:37  BLL\RightsGroupManager.cs
     文件        5220  2008-12-15 21:37  BLL\RightsRelationManager.cs
     目录           0  2018-04-24 13:12  BLL\bin\
     目录           0  2018-04-24 13:20  BLL\bin\Debug\
     文件        7680  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKBLL.dll
     文件       24064  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKBLL.pdb
     文件        6884  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKBLL.xml
     文件       15872  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDAL.dll
     文件       30208  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDAL.pdb
     文件        6884  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDAL.xml
     文件        5632  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDALFactory.dll
     文件       15872  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDALFactory.pdb
     文件        2577  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDALFactory.xml
     文件        8192  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDBUtility.dll
     文件       24064  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDBUtility.pdb
     文件       10991  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKDBUtility.xml
     文件        5632  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKIBLL.dll
     文件        7680  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKIBLL.pdb
     文件        6936  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKIBLL.xml
     文件        5632  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKIDAL.dll
     文件        7680  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKIDAL.pdb
     文件        6936  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKIDAL.xml
     文件        7680  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKModel.dll
     文件       30208  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKModel.pdb
     文件        7977  2018-04-24 13:20  BLL\bin\Debug\CMCSharpSDKModel.xml
     目录           0  2018-04-24 13:12  BLL\obj\
............此处省略482个文件信息

评论

共有 条评论