1 Star 3 Fork 0

MightZ / 银行管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

银行管理系统

介绍

基于C#的银行管理系统,c#编写,主要涵盖存取款模块,汇总查询模块,职员管理模块,扩展功能模块,页面设计模块五个模块。

主界面

imgimgimgimg

存取款模块

主要实现的功能: (1)开户:a.对账户的账号,账户名,身份证号,密码,开户类型进行录入,直接保存至AccountInfo表中,开户信息直接显示在操作记录窗口。 b.对不同开户类型设置了开户最低金额,在按下“确定”按钮后会对开户类型进行检测,低于相应的开户金额则弹出对话框进行提示。 c.对开户账号文本框添加了只读操作,不允许用户自行命名账号,由系统自动分配账号。

img

img

(2)存款:a.允许用户输入账号及存款金额并进行存款,数据录入AccountInfo表中,存款信息直接显示在操作记录窗口。如果用户为活期存款用户,则直接进行结息操作,结息信息直接显示在操作记录窗口。 b.对所有用户都设置了最低起存金额,在按下“确定”按钮后会对开户类型进行检测,低于相应的开户金额则弹出对话框进行提示。 c.对定期存款用户及零存整取用户设置了设置存款期限的下拉框,数据会录入AccountInfo表中。 d.对零存整取用户设置了设置零存整取固定金额的文本框,数据会录入AccountInfo表中。 e.在用户输入账号后自动进行用户类型检测,如果为活期存款用户,则设置存款期限的下拉框和设置零存整取固定金额的文本框均设置为不可操作;如果为定期存款用户,则设置零存整取固定金额的文本框设置为不可操作。 f. 在按下“确定”按钮后进行用户类型检测,如果为定期存款用户或零存整取用户,则检测该账户的已存款次数,定期存款仅允许一次存款;零存整取用户根据账户的存款期限分别为12次,36次,60次,如果检测到账户已存款次数已经超过了允许值,则弹出对话框进行提示。 g. 在用户输入账号后自动进行用户类型检测,如果为零存整取用户,则检测其是否已进行过存款操作,如果监测到该账户已进行过一次以上存款,则设置存款期限的下拉框的文本属性设置为AccountInfo表中该账户之前设置的存款期限,设置零存整取固定金额的文本框的文本属性设置为AccountInfo表中该账户之前设置的的零存整取固定金额,并将下拉框和文本框设为不可操作。

img

img

(3)取款:a. 允许用户输入账号密码,如果账号密码不匹配,则弹出对话框进行提示,如果账号密码不匹配则进行取款操作,数据录入AccountInfo表,取款信息直接显示在操作记录窗口中。 b. 允许用户输入取款金额,如果取款金额大于账户余额或取款金额为负数,则弹出对话框进行提示。 c.对于活期存款用户,结息操作已在存款结束后执行完毕。 d.对于定期存款用户,在取款前进行结息操作,根据其取款时间与存款时间的时间差值与其之前设置的存款期限进行对比,按提前支取,满足期限,超出期限三种利息进行结息操作,数据录入AccountInfo表,结息信息直接显示在操作记录窗口中。 e. 对于零存整取用户,在取款前进行结息操作,根据其取款时的存款次数与其之前设置的存款期限要求的次数进行对比,按违规,满足次数,超出次数三种利息进行结息操作,数据录入AccountInfo表,结息信息直接显示在操作记录窗口中。

imgimg

汇总查询模块

主要实现的功能: (1)当日查询:a.按下“查询按钮”后,对当日发生的所有金额收入及支出情况进行显示。

imgimg

(2)汇总查询:a.分别设置了按账号,按操作日期,按操作类型,按操作涉及金额四个查询条件,允许对其中任意一个或多个条件组合实现多条件查询,按下“查询”按钮后,对满足条件的所有收入及支出情况进行显示。

imgimg

职员管理模块

主要实现的功能: (1)职员管理:a.员工操作主页面对EmployeeInfo表中数据进行读取,并对员工的员工号,姓名,性别,工作日期,电话,身份证号码,照片,员工工资进行显示。

imgimg

​ b.按下“添加”按钮后,跳转到添加员工信息页面,允许对其各项信息进行填写,按下“确定”按钮后,判断信息填写是否合法,若合法则将该员工添加到EmployeeInfo表中,并在员工操作主页面进行显示。

imgimg

​ c.按下“修改”按钮后,跳转到修改员工信息界面,若未选中要修改的员工信息,则弹出对话框进行提示。在修改员工信息界面允许对其除员工工资外各项信息进行修改,按下“确定”按钮后,判断信息填写是否合法,若合法则将该员工添加到EmployeeInfo表中,并在员工操作主页面进行显示。

imgimg

​ d.按下“删除”按钮后,弹出对话框询问是否进行删除操作,选择“Yes”则从EmployeeInfo表中移除该员工所有信息。若未选中要删除的员工信息,则弹出对话框进行提示。

(2)调整工资:a.允许输入员工号,员工姓名,并选择工资调整方式及调整金额,对该员工的员工工资进行调整,若工资调整成功则弹出对话框显示员工调整后的员工工资,并将调整后信息录入EmployeeInfo表中。 b.设置了员工工资显示文本框,对该员工当前员工工资进行显示。 c.在输入员工号及员工姓名后,自动对其是否匹配进行验证,若不匹配,则弹出对话框进行提示。

imgimg

扩展功能模块

主要实现的功能: (1)转账功能:a.允许两个活期存款用户间进行转账操作,数据录入AccountInfo表中,转账信息直接显示在操作记录窗口。 b.允许输入转账账户账号,转账方账户密码,收款方账户账号及转账金额,若转账方账户账号密码不匹配,则弹出对话框进行提示。 c.在按下“确定”按钮后,对用户转账金额进行检测,如果转账金额大于账户余额或转账金额为负数,则弹出对话框进行提示

imgimg

(2)抽奖及彩票功能:a.设置了抽奖与彩票的选择页面,允许用户进行选择。

imgimg

​ b.对于抽奖功能,允许活期存款账户进行抽奖,允许输入账户及密码,在按下“抽奖”按钮后,对用户类型及账户密码进行检测,如果不满足条件则弹出对话框进行提示。如满足条件,则进行一次抽奖,若中奖,则弹出对话框显示中奖金额,抽奖结果同样会在抽奖结果文本框中显示。

imgimg

​ c. 对于彩票功能,允许活期存款账户进行彩票购买,允许输入账户密码及自行选择的7位数字,在按下“确认”按钮后,对用户类型及账户密码进行检测,如果不满足条件则弹出对话框进行提示。如满足条件,则购买一次彩票,若中奖,则弹出对话框显示中奖金额,抽奖结果同样会在抽奖结果文本框中显示。

imgimg

​ d.设置了奖池账户,每次用户进行抽奖或彩票服务时扣除的费用均以转账形式由用户账户转入奖池账户,每次用户中奖后的奖金同样以转账形式由奖池账户转入用户账户。

页面设计模块

主要实现的功能: (1)登录界面的改进:a.允许用户输入账户密码,按下“登录”按钮后进行检测,若账户密码不匹配,则弹出对话框进行提示,并清空密码文本框。

img

​ b.添加了验证码功能,允许账户输入,若验证码不匹配,则弹出对话框进行提示。验证码不区分大小写。若验证码不清晰可点击验证码进行刷新操作。

img

​ c.为登录按钮添加了“回车”默认。 ​ d.更改了登录页面背景。 ​
(2)程序整体风格的设计:a.整体使用了Material Design in xaml 设计风格。 ​ b.在绝大部分控件前添加了相应的Icon矢量图标。 ​ c.更改了主界面背景。 ​ d.更改了主界面按钮的图片。

软件架构

软件架构说明

  1. 基于VS2019和LocalDB编写

使用说明

  1. 通过BankManage/BankManage.sln启动主页面
  2. 详细功能演示参见项目演示视频:https://www.bilibili.com/video/BV1HM411k7tL/
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

bank-manager 展开 收起
C#
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/lovetoeatmeat/bank-manager.git
git@gitee.com:lovetoeatmeat/bank-manager.git
lovetoeatmeat
bank-manager
银行管理系统
master

搜索帮助