• 大小: 309KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: C#
  • 标签: C#、SQL  

资源简介

C#小型超市管理系统+SQL数据库,这是一个简单的程序很好的!

资源截图

代码片段和文件信息

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

namespace SupermarketManagementSystem
{
    public partial class Admin : Form
    {
        UserControl3 _uc3;
        UserControl2 _uc2;
        public Admin()
        {
            InitializeComponent();
            Init();
        }
        private void Init()
        {
            _uc3 = new UserControl3();//实例化用户自定义控件
            _uc2 = new UserControl2();
            pnlMain.Controls.Add(_uc3);//给面板添加控件集合
        }

        private void 进货ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (pnlMain.Controls[0] == _uc2)
            {
                pnlMain.Controls.Clear();
                pnlMain.Controls.Add(_uc3);
                _uc3.Dock = Dockstyle.Fill;
            }
        }

        private void 查询ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (pnlMain.Controls[0] == _uc3)
            {
                pnlMain.Controls.Clear();
                pnlMain.Controls.Add(_uc2);
                _uc2.Dock = Dockstyle.Fill;
            }
        }

        private void 退出QToolStripMenuItem_Click(object sender EventArgs e)
        {
            this.Close();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     目录          0  2010-06-08 17:03  小型超市管理系统

     目录          0  2010-04-30 09:16  小型超市管理系统\Supermarket Management System

     文件    3145728  2009-06-23 17:47  小型超市管理系统\Supermarket Management System\Supermarket.mdf

     目录          0  2010-04-30 09:16  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem

     文件       1445  2009-06-21 13:55  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Admin.cs

     文件       5926  2009-06-21 13:54  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Admin.Designer.cs

     文件       6012  2009-06-21 13:54  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Admin.resx

     目录          0  2010-04-30 09:16  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\bin

     目录          0  2010-04-30 09:16  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\bin\Debug

     文件      31744  2010-05-31 10:56  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\bin\Debug\SupermarketManagementSystem.exe

     文件      93696  2010-05-31 10:56  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\bin\Debug\SupermarketManagementSystem.pdb

     文件      14328  2010-05-31 11:00  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\bin\Debug\SupermarketManagementSystem.vshost.exe

     文件        490  2007-07-21 01:33  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\bin\Debug\SupermarketManagementSystem.vshost.exe.manifest

     文件       2467  2009-06-23 23:20  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\DBManager.cs

     文件       1612  2009-06-21 13:28  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Front.cs

     文件       7046  2009-06-20 15:47  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Front.Designer.cs

     文件       6012  2009-06-20 15:47  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Front.resx

     文件        981  2009-06-23 19:11  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Login.cs

     文件       5887  2009-06-21 13:57  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Login.Designer.cs

     文件       5814  2009-06-21 13:57  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Login.resx

     文件        956  2009-06-21 14:00  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Login2.cs

     文件       5853  2009-06-21 13:57  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Login2.Designer.cs

     文件       5814  2009-06-21 13:57  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Login2.resx

     文件        689  2009-06-21 13:37  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Main.cs

     文件       3725  2009-06-21 13:31  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Main.Designer.cs

     文件       5814  2009-06-21 13:31  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\Main.resx

     目录          0  2010-04-30 09:16  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\obj

     目录          0  2010-05-31 10:56  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\obj\Debug

     目录          0  2010-04-30 09:16  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\obj\Debug\Refactor

     文件        180  2009-06-23 22:01  小型超市管理系统\Supermarket Management System\SupermarketManagementSystem\obj\Debug\SupermarketManagementSystem.Admin.resources

............此处省略37个文件信息

评论

共有 条评论

相关资源