资源简介

本项目可以模拟银行ATM操作:

1.用户的创建与登录(普通用户和VIP用户,VIP用户可以透支)

2.登录成功后,实现取,存,查,以及不同用户之间的转账和用户信息修改等功能

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChinaBank
{
    class Account
    {
        private string user;

        public string User
        {
            get { return user; }
            set { user = value; }
        }
        private string password;

        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        private double balance;

        public double Balance
        {
            get { return balance; }
            set { balance = value; }
        }
        private double touZhi = -1;//透支额度默认都为-1

        public double TouZhi
        {
            get { return touZhi; }
            set { touZhi = value; }
        }

    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-17 08:49  ChinaBank\
     文件         830  2017-04-14 10:48  ChinaBank\Account.cs
     文件        2594  2017-04-14 09:28  ChinaBank\ChinaBank.csproj
     文件         298  2017-04-14 09:27  ChinaBank\IAccountService.cs
     文件        1508  2017-04-16 16:31  ChinaBank\Normal.cs
     文件       11972  2017-04-16 16:51  ChinaBank\Program.cs
     目录           0  2017-04-17 08:49  ChinaBank\Properties\
     文件        1374  2017-04-14 09:15  ChinaBank\Properties\AssemblyInfo.cs
     文件        3154  2017-04-16 16:50  ChinaBank\VIP.cs
     目录           0  2017-04-17 08:49  ChinaBank\bin\
     目录           0  2017-04-17 08:49  ChinaBank\bin\Debug\
     文件       11264  2019-06-26 10:37  ChinaBank\bin\Debug\ChinaBank.exe
     文件       42496  2019-06-26 10:37  ChinaBank\bin\Debug\ChinaBank.pdb
     文件       11600  2019-06-26 10:37  ChinaBank\bin\Debug\ChinaBank.vshost.exe
     文件         490  2018-09-15 15:29  ChinaBank\bin\Debug\ChinaBank.vshost.exe.manifest
     目录           0  2017-04-17 08:49  ChinaBank\obj\
     目录           0  2017-04-17 08:49  ChinaBank\obj\x86\
     目录           0  2017-04-17 08:49  ChinaBank\obj\x86\Debug\
     文件        1779  2019-06-26 10:37  ChinaBank\obj\x86\Debug\ChinaBank.csproj.FileListAbsolute.txt
     文件       11264  2019-06-26 10:37  ChinaBank\obj\x86\Debug\ChinaBank.exe
     文件       42496  2019-06-26 10:37  ChinaBank\obj\x86\Debug\ChinaBank.pdb
     文件        6000  2019-06-26 10:37  ChinaBank\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2019-06-26 10:39  ChinaBank\obj\x86\Debug\TempPE\
     文件         869  2017-04-14 09:15  银行项目.sln

评论

共有 条评论