实例介绍
初学C#的练习程序,适合初学者参考。实现功能如下: 1.C#三层架构实现数据,逻辑,表现三个模块,实现数据增删改查功能和简单和登录,折旧计算等简单的逻辑层功能。 2.用户权限角色管理功能,可自由配置角色和对应的操作权限。 使用注意事项: 1.数据库文件内置,连接请采用远程连接设置,R2等企业版可能要求远程连接必须设置密码,请自行设置。 2.VS2013及以上版本(其余版本可能存在异常)。
【实例截图】
【核心代码】
固定资产管理系统
└── ProDAL
├── ControlExs
│ ├── bin
│ │ └── Debug
│ │ ├── ControlExs.dll
│ │ ├── ControlExs.pdb
│ │ └── ControlExs.vshost.exe
│ ├── Common Class
│ │ └── ColorTable.cs
│ ├── ControlExs
│ │ ├── FormEx
│ │ │ ├── FormBase.cs
│ │ │ ├── FormEx.cs
│ │ │ ├── FormEx.resx
│ │ │ ├── Res
│ │ │ │ ├── fringe_bkg.png
│ │ │ │ └── SystemButtons
│ │ │ │ ├── close_down.png
│ │ │ │ ├── close_highlight.png
│ │ │ │ ├── close_normal.png
│ │ │ │ ├── max_down.png
│ │ │ │ ├── max_highlight.png
│ │ │ │ ├── max_normal.png
│ │ │ │ ├── min_down.png
│ │ │ │ ├── min_highlight.png
│ │ │ │ ├── min_normal.png
│ │ │ │ ├── restore_down.png
│ │ │ │ ├── restore_highlight.png
│ │ │ │ └── restore_normal.png
│ │ │ ├── SystemButton.cs
│ │ │ └── SystemButtonManager.cs
│ │ ├── ImageButton
│ │ │ └── ImageButton.cs
│ │ └── QQControls
│ │ ├── QQButton
│ │ │ ├── Image
│ │ │ │ ├── qqbtn_down.png
│ │ │ │ ├── qqbtn_focus.png
│ │ │ │ ├── qqbtn_highlight.png
│ │ │ │ └── qqbtn_normal.png
│ │ │ └── QQButton.cs
│ │ ├── QQCheckBox
│ │ │ ├── Image
│ │ │ │ └── check.png
│ │ │ └── QQCheckBox.cs
│ │ ├── QQGlassButton
│ │ │ ├── Image
│ │ │ │ ├── glassbtn_down.png
│ │ │ │ └── glassbtn_hot.png
│ │ │ └── QQGlassButton.cs
│ │ ├── QQMessageBox
│ │ │ ├── Icons
│ │ │ │ ├── qqmessagebox_error.png
│ │ │ │ ├── qqmessagebox_infor.png
│ │ │ │ ├── qqmessagebox_ok.png
│ │ │ │ ├── qqmessagebox_question.png
│ │ │ │ └── qqmessagebox_warning.png
│ │ │ ├── QQMessageBoxButtons.cs
│ │ │ ├── QQMessageBox.cs
│ │ │ ├── QQMessageBoxIcon.cs
│ │ │ └── QQMessageBox.resx
│ │ ├── QQRadioButton
│ │ │ ├── Image
│ │ │ │ └── dot.png
│ │ │ └── QQRadioButton.cs
│ │ └── QQTextBox
│ │ └── QQTextBox.cs
│ ├── ControlExs.csproj
│ ├── Enums
│ │ ├── ClassStyle.cs
│ │ ├── MouseOperate.cs
│ │ ├── QQControlState.cs
│ │ ├── SystemButtonState.cs
│ │ ├── WindowStyle.cs
│ │ └── WindowStyleEx.cs
│ ├── Methods
│ │ ├── RenderHelper.cs
│ │ └── Win32.cs
│ ├── obj
│ │ └── x86
│ │ └── Debug
│ │ ├── ControlExs.csproj.FileListAbsolute.txt
│ │ ├── ControlExs.csproj.GenerateResource.Cache
│ │ ├── ControlExs.csprojResolveAssemblyReference.cache
│ │ ├── ControlExs.dll
│ │ ├── ControlExs.FormEx.resources
│ │ ├── ControlExs.pdb
│ │ ├── ControlExs.Properties.Resources.resources
│ │ ├── ControlExs.QQMessageBox.resources
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GDIPlusDemo.csproj.FileListAbsolute.txt
│ │ ├── GDIPlusDemo.FormDemo.resources
│ │ ├── GDIPlusDemo.FormEx.resources
│ │ ├── GDIPlusDemo.Properties.Resources.resources
│ │ ├── GDIPlusDemo.QQMessageBox.resources
│ │ ├── GenerateResource.read.1.tlog
│ │ ├── GenerateResource.write.1.tlog
│ │ ├── ResolveAssemblyReference.cache
│ │ └── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── database
│ ├── db_Pro_log.ldf
│ └── db_Pro.mdf
├── ProBLL
│ ├── bin
│ │ └── Debug
│ │ ├── ProBLL.dll
│ │ ├── ProBLL.pdb
│ │ ├── ProDAL.dll
│ │ ├── ProDAL.pdb
│ │ ├── ProModel.dll
│ │ └── ProModel.pdb
│ ├── DepreciationMode.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── ProBLL.csproj.FileListAbsolute.txt
│ │ ├── ProBLL.csprojResolveAssemblyReference.cache
│ │ ├── ProBLL.dll
│ │ ├── ProBLL.pdb
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── ProBLL.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── UserCreate.cs
├── ProDAL
│ ├── bin
│ │ └── Debug
│ │ ├── ProDAL.dll
│ │ ├── ProDAL.pdb
│ │ ├── ProModel.dll
│ │ └── ProModel.pdb
│ ├── Delete.cs
│ ├── Insert.cs
│ ├── Login.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── ProDAL.csproj.FileListAbsolute.txt
│ │ ├── ProDAL.csprojResolveAssemblyReference.cache
│ │ ├── ProDAL.dll
│ │ ├── ProDAL.pdb
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── ProDAL.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Query.cs
│ └── SqlConnect.cs
├── ProDAL.sln
├── ProDAL.v12.suo
├── ProModel
│ ├── bin
│ │ └── Debug
│ │ ├── ProModel.dll
│ │ └── ProModel.pdb
│ ├── Entity.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── ProModel.csproj.FileListAbsolute.txt
│ │ ├── ProModel.csprojResolveAssemblyReference.cache
│ │ ├── ProModel.dll
│ │ ├── ProModel.pdb
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── ProModel.csproj
│ └── Properties
│ └── AssemblyInfo.cs
├── ProUI
│ ├── App.config
│ ├── AutoSizeFormClass.cs
│ ├── bin
│ │ └── Debug
│ │ ├── ControlExs.dll
│ │ ├── ControlExs.pdb
│ │ ├── ProBLL.dll
│ │ ├── ProBLL.pdb
│ │ ├── ProDAL.dll
│ │ ├── ProDAL.pdb
│ │ ├── ProModel.dll
│ │ ├── ProModel.pdb
│ │ ├── ProUI.exe
│ │ ├── ProUI.exe.config
│ │ ├── ProUI.pdb
│ │ ├── ProUI.vshost.exe
│ │ ├── ProUI.vshost.exe.config
│ │ └── ProUI.vshost.exe.manifest
│ ├── class
│ │ └── OutputFile.cs
│ ├── db_ProDataSet1.Designer.cs
│ ├── db_ProDataSet1.xsc
│ ├── db_ProDataSet1.xsd
│ ├── db_ProDataSet1.xss
│ ├── db_ProDataSet2.Designer.cs
│ ├── db_ProDataSet2.xsc
│ ├── db_ProDataSet2.xsd
│ ├── db_ProDataSet2.xss
│ ├── db_ProDataSet3.Designer.cs
│ ├── db_ProDataSet3.xsc
│ ├── db_ProDataSet3.xsd
│ ├── db_ProDataSet3.xss
│ ├── db_ProDataSet4.Designer.cs
│ ├── db_ProDataSet4.xsc
│ ├── db_ProDataSet4.xsd
│ ├── db_ProDataSet4.xss
│ ├── db_ProDataSet.Designer.cs
│ ├── db_ProDataSet.xsc
│ ├── db_ProDataSet.xsd
│ ├── db_ProDataSet.xss
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── ProUI.csproj.FileListAbsolute.txt
│ │ ├── ProUI.csproj.GenerateResource.Cache
│ │ ├── ProUI.csprojResolveAssemblyReference.cache
│ │ ├── ProUI.exe
│ │ ├── ProUI.FormDelAssets.resources
│ │ ├── ProUI.FormDepartment.resources
│ │ ├── ProUI.FormHouse.resources
│ │ ├── ProUI.FormInsertAssets.resources
│ │ ├── ProUI.FormInsertBorrow.resources
│ │ ├── ProUI.FormInsertDepreciation.resources
│ │ ├── ProUI.FormInsertRepair.resources
│ │ ├── ProUI.FormLogin.resources
│ │ ├── ProUI.FormMain.resources
│ │ ├── ProUI.FormRole.resources
│ │ ├── ProUI.FormType.resources
│ │ ├── ProUI.FormUpdateDep.resources
│ │ ├── ProUI.FormUpdateHouse.resources
│ │ ├── ProUI.FormUpdateRole.resources
│ │ ├── ProUI.FormUpdateType.resources
│ │ ├── ProUI.FormUpdateUser.resources
│ │ ├── ProUI.FormUserAd.resources
│ │ ├── ProUI.pdb
│ │ ├── ProUI.Properties.Resources.resources
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ └── TempPE
│ │ ├── db_ProDataSet1.Designer.cs.dll
│ │ ├── db_ProDataSet2.Designer.cs.dll
│ │ ├── db_ProDataSet3.Designer.cs.dll
│ │ ├── db_ProDataSet4.Designer.cs.dll
│ │ └── db_ProDataSet.Designer.cs.dll
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── ProUI.csproj
│ ├── PTUser
│ │ ├── FormDelAssets.cs
│ │ ├── FormDelAssets.Designer.cs
│ │ ├── FormDelAssets.resx
│ │ ├── FormInsertAssets.cs
│ │ ├── FormInsertAssets.Designer.cs
│ │ ├── FormInsertAssets.resx
│ │ ├── FormInsertBorrow.cs
│ │ ├── FormInsertBorrow.Designer.cs
│ │ ├── FormInsertBorrow.resx
│ │ ├── FormInsertDepreciation.cs
│ │ ├── FormInsertDepreciation.Designer.cs
│ │ ├── FormInsertDepreciation.resx
│ │ ├── FormInsertRepair.cs
│ │ ├── FormInsertRepair.Designer.cs
│ │ ├── FormInsertRepair.resx
│ │ ├── FormLogin.cs
│ │ ├── FormLogin.Designer.cs
│ │ ├── FormLogin.resx
│ │ ├── FormMain.cs
│ │ ├── FormMain.Designer.cs
│ │ └── FormMain.resx
│ ├── SysAdmin
│ │ ├── Department
│ │ │ ├── FormDepartment.cs
│ │ │ ├── FormDepartment.Designer.cs
│ │ │ ├── FormDepartment.resx
│ │ │ ├── FormUpdateDep.cs
│ │ │ ├── FormUpdateDep.Designer.cs
│ │ │ └── FormUpdateDep.resx
│ │ ├── HouseAD
│ │ │ ├── FormHouse.cs
│ │ │ ├── FormHouse.Designer.cs
│ │ │ ├── FormHouse.resx
│ │ │ ├── FormUpdateHouse.cs
│ │ │ ├── FormUpdateHouse.Designer.cs
│ │ │ └── FormUpdateHouse.resx
│ │ ├── RoleAD
│ │ │ ├── FormRole.cs
│ │ │ ├── FormRole.Designer.cs
│ │ │ ├── FormRole.resx
│ │ │ ├── FormUpdateRole.cs
│ │ │ ├── FormUpdateRole.Designer.cs
│ │ │ └── FormUpdateRole.resx
│ │ ├── TypeAD
│ │ │ ├── FormType.cs
│ │ │ ├── FormType.Designer.cs
│ │ │ ├── FormType.resx
│ │ │ ├── FormUpdateType.cs
│ │ │ ├── FormUpdateType.Designer.cs
│ │ │ └── FormUpdateType.resx
│ │ └── UserAD
│ │ ├── FormUpdateUser.cs
│ │ ├── FormUpdateUser.Designer.cs
│ │ ├── FormUpdateUser.resx
│ │ ├── FormUserAd.cs
│ │ ├── FormUserAd.Designer.cs
│ │ └── FormUserAd.resx
│ ├── UserControl1.cs
│ └── UserControl1.Designer.cs
├── text
│ ├── App.config
│ ├── bin
│ │ └── Debug
│ │ ├── ProDAL.dll
│ │ ├── ProDAL.pdb
│ │ ├── text.exe
│ │ ├── text.exe.config
│ │ ├── text.pdb
│ │ ├── text.vshost.exe
│ │ ├── text.vshost.exe.config
│ │ └── text.vshost.exe.manifest
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── text.csproj.FileListAbsolute.txt
│ │ ├── text.csprojResolveAssemblyReference.cache
│ │ ├── text.exe
│ │ └── text.pdb
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── text.csproj
└── textform
├── App.config
├── bin
│ └── Debug
│ ├── ControlExs.dll
│ ├── ControlExs.pdb
│ ├── ProBLL.dll
│ ├── ProBLL.pdb
│ ├── ProDAL.dll
│ ├── ProDAL.pdb
│ ├── ProModel.dll
│ ├── ProModel.pdb
│ ├── textform.exe
│ ├── textform.exe.config
│ ├── textform.pdb
│ ├── textform.vshost.exe
│ ├── textform.vshost.exe.config
│ └── textform.vshost.exe.manifest
├── Form1.cs
├── Form1.Designer.cs
├── Form1.resx
├── obj
│ └── Debug
│ ├── DesignTimeResolveAssemblyReferences.cache
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── textform.csproj.FileListAbsolute.txt
│ ├── textform.csproj.GenerateResource.Cache
│ ├── textform.exe
│ ├── textform.Form1.resources
│ ├── textform.pdb
│ └── textform.Properties.Resources.resources
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
└── textform.csproj
75 directories, 318 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论