资源简介

账号:Tsoft 密码:111

【调试说明】

1. 附加数据库db_PWMS

2. 修改MyMeans.cs中的数据库连接串为您本地数据库信息

3. 直接运行即可

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace PWMS
{
    public partial class F_Login : Form
    {
        DataClass.MyMeans MyClass = new PWMS.DataClass.MyMeans();
        
        public F_Login()
        {
            InitializeComponent();
        }

        private void butClose_Click(object sender EventArgs e)
        {
            if ((int)(this.Tag) == 1)
            {
                DataClass.MyMeans.Login_n = 3;
                Application.Exit();
            }
            else
                if ((int)(this.Tag) == 2)
                    this.Close();
        }

        private void butLog

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-02-21 23:23  .vs\
     目录           0  2020-02-21 23:23  .vs\PWMS\
     目录           0  2020-02-21 23:23  .vs\PWMS\v16\
     文件       81408  2020-02-21 23:31  .vs\PWMS\v16\.suo
     目录           0  2020-02-21 23:23  .vs\PWMS\v16\Server\
     目录           0  2020-02-21 23:31  .vs\PWMS\v16\Server\sqlite3\
     文件           0  2020-02-21 23:23  .vs\PWMS\v16\Server\sqlite3\db.lock
     文件      753664  2020-02-21 23:31  .vs\PWMS\v16\Server\sqlite3\storage.ide
     目录           0  2019-04-24 22:08  PWMS\
     目录           0  2019-04-24 22:08  PWMS\Database\
     文件     5242880  2019-02-28 11:10  PWMS\Database\db_PWMS.mdf
     文件     1835008  2019-02-28 11:10  PWMS\Database\db_PWMS_log.ldf
     目录           0  2020-02-21 23:25  PWMS\DataClass\
     文件        4310  2020-02-21 23:25  PWMS\DataClass\MyMeans.cs
     文件        6856  2007-12-06 10:24  PWMS\F_Login.Designer.cs
     文件        2986  2007-12-15 14:40  PWMS\F_Login.cs
     文件      341697  2007-12-06 10:24  PWMS\F_Login.resx
     文件       38155  2007-12-15 13:27  PWMS\F_Main.Designer.cs
     文件        7044  2007-12-15 13:27  PWMS\F_Main.cs
     文件     1001411  2007-12-15 13:27  PWMS\F_Main.resx
     目录           0  2019-04-24 22:08  PWMS\Image\
     文件        2906  2007-12-05 09:05  PWMS\Image\01.png
     文件        3071  2007-12-05 09:10  PWMS\Image\02.PNG
     文件        3242  2007-12-05 09:11  PWMS\Image\03.PNG
     文件        2897  2007-12-05 09:11  PWMS\Image\04.PNG
     文件        3096  2007-12-05 09:11  PWMS\Image\05.PNG
     文件        3526  2007-12-05 09:12  PWMS\Image\06.PNG
     文件        2933  2007-12-05 09:13  PWMS\Image\07.PNG
     文件        3636  2007-12-05 09:14  PWMS\Image\08.PNG
     文件        3033  2007-12-05 09:14  PWMS\Image\09.PNG
     文件       29776  2007-12-11 22:05  PWMS\Image\PEOPLE.jpg
............此处省略114个文件信息

评论

共有 条评论