• 大小: 17.81M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 地铁  系统  

资源简介

请先附加数据库,否则无法进入系统(默认管理员 账户wasd,密码wasd)

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Windows.Forms;

namespace SubwayConsumption
{
    public partial class AddUsers : Form
    {
        public AddUsers()
        {
            InitializeComponent();
        }

        private void button3_Click(object sender EventArgs e)
        {

        }

        private void button6_Click(object sender EventArgs e)
        {
         //添加用户信息
            //防止失误操作,用户信息不能为空
            if (this.tbxm.Text == ““ || this.cb_sex.Text == ““ || this.tb_age.Text == ““ || this.tb_sfz.Text == ““ || this.tb_tel.Text == ““)
            {
                MessageBox.Show(“用户信息不能为空,需全部填满!“);
                return;
            }
            //增加用户信息
            string sql = string.Format(“insert UserInforInfor values(‘{0}‘{1}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-11-24 01:18  SubwayConsumption\
     目录           0  2019-06-19 14:33  SubwayConsumption\.vs\
     目录           0  2019-06-19 14:33  SubwayConsumption\.vs\SubwayConsumption\
     目录           0  2019-06-19 14:33  SubwayConsumption\.vs\SubwayConsumption\v15\
     文件      114688  2019-11-24 01:07  SubwayConsumption\.vs\SubwayConsumption\v15\.suo
     目录           0  2019-06-19 14:33  SubwayConsumption\.vs\SubwayConsumption\v15\Server\
     目录           0  2019-06-19 14:33  SubwayConsumption\.vs\SubwayConsumption\v15\Server\sqlite3\
     文件           0  2019-06-02 20:48  SubwayConsumption\.vs\SubwayConsumption\v15\Server\sqlite3\db.lock
     文件      970752  2019-06-19 16:38  SubwayConsumption\.vs\SubwayConsumption\v15\Server\sqlite3\storage.ide
     文件       32768  2019-11-24 01:06  SubwayConsumption\.vs\SubwayConsumption\v15\Server\sqlite3\storage.ide-shm
     文件     4169472  2019-11-24 00:55  SubwayConsumption\.vs\SubwayConsumption\v15\Server\sqlite3\storage.ide-wal
     目录           0  2019-06-19 17:20  SubwayConsumption\SubwayConsumption\
     文件        3043  2019-06-17 09:42  SubwayConsumption\SubwayConsumption\AddUsers.cs
     文件       14540  2019-06-17 09:42  SubwayConsumption\SubwayConsumption\AddUsers.designer.cs
     文件      221563  2019-06-17 09:42  SubwayConsumption\SubwayConsumption\AddUsers.resx
     文件        7259  2019-06-19 14:31  SubwayConsumption\SubwayConsumption\Administrator login.cs
     文件       11744  2019-06-19 14:31  SubwayConsumption\SubwayConsumption\Administrator login.designer.cs
     文件      259736  2019-06-19 14:31  SubwayConsumption\SubwayConsumption\Administrator login.resx
     文件         189  2019-06-02 20:47  SubwayConsumption\SubwayConsumption\App.config
     文件        2657  2019-06-19 15:08  SubwayConsumption\SubwayConsumption\BMI.cs
     文件       15513  2019-06-19 14:59  SubwayConsumption\SubwayConsumption\BMI.designer.cs
     文件      178104  2019-06-19 14:59  SubwayConsumption\SubwayConsumption\BMI.resx
     文件       17226  2019-06-19 14:47  SubwayConsumption\SubwayConsumption\Computational formulas.Designer.cs
     文件       47556  2019-06-19 15:40  SubwayConsumption\SubwayConsumption\Computational formulas.cs
     文件      221390  2019-06-19 14:47  SubwayConsumption\SubwayConsumption\Computational formulas.resx
     目录           0  2019-11-24 01:20  SubwayConsumption\SubwayConsumption\Connected Services\
     文件       13088  2019-06-12 15:59  SubwayConsumption\SubwayConsumption\Consumption Ticket.Designer.cs
     文件         779  2019-06-12 15:59  SubwayConsumption\SubwayConsumption\Consumption Ticket.cs
     文件        6011  2019-06-12 15:59  SubwayConsumption\SubwayConsumption\Consumption Ticket.resx
     文件        1241  2019-06-04 16:09  SubwayConsumption\SubwayConsumption\DBHelper.cs
     文件     6078144  2019-06-19 17:20  SubwayConsumption\SubwayConsumption\Form1.cs
............此处省略83个文件信息

评论

共有 条评论