• 大小: 390KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-07
  • 语言: 其他
  • 标签:

资源简介

模拟仓库零件管理 里面包含写好的 课程设计文档 仓库管理的数据库表格有 1:零件供应商 2:零件 3:供货关系 4:仓库 5:库存关系

资源截图

代码片段和文件信息

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;
using System.Data.SqlClient;
using System.Configuration;

namespace Bean_System
{
    public partial class AdminMainWindows : Form
    {
        public LoginWindows login
        {
            get;
            set;
        }

        public AdminMainWindows()
        {
            InitializeComponent();
        }

        protected override void OnClosing(CancelEventArgs e)
        {
            Application.Exit();
            base.OnClosing(e);
        }

        #region 主菜单
        private void 退出ToolStripMenuItem_Click(object sender EventArgs e)
        {
            Application.Exit();
        }

        private void 注销ToolStripMenuItem_Click(object sender EventArgs e)
        {
            this.login.Show();
            this.Hide();

        }

        SupplierWindows supplierWindow = null;
        private void 供应商管理ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (supplierWindow == null || supplierWindow.IsDisposed)
            {
                supplierWindow = new SupplierWindows();
                supplierWindow.Show();
            }

        }

        SupplyWindows supplyWindows = null;
        private void 供货管理ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (supplyWindows == null || supplyWindows.IsDisposed)
            {
                supplyWindows = new SupplyWindows();
                supplyWindows.Show();
            }
        }


        SparesWindows sparesWindows = null;
        private void 零件管理ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (sparesWindows == null || sparesWindows.IsDisposed)
            {
                sparesWindows = new SparesWindows();
                sparesWindows.Show();
            }
        }

        StorehouseWindows storehouseWindows = null;
        private void 仓库管理ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (storehouseWindows == null || storehouseWindows.IsDisposed)
            {
                storehouseWindows = new StorehouseWindows();
                storehouseWindows.Show();
            }
        }


        InventoryWindows inventoryWindows = null;
        private void 零件库存管理ToolStripMenuItem_Click(object sender EventArgs e)
        {
            if (inventoryWindows == null || inventoryWindows.IsDisposed)
            {
                inventoryWindows = new InventoryWindows();
                inventoryWindows.Show();
            }
        }
        #endregion


        public void Databind()
        {

            string condition = string.IsNullOrEmpty(this.tbKeyWord.Text) ? ““ : “ where LoginName like ‘%‘+@LoginName+‘%‘ “;



            SqlConnection con = new SqlConnection();

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

     文件      11174  2010-12-22 22:55  仓库供货\StoreSystem\Bean_System\AdminMainWindows.cs

     文件      27354  2010-12-22 22:55  仓库供货\StoreSystem\Bean_System\AdminMainWindows.Designer.cs

     文件      15005  2010-12-22 22:55  仓库供货\StoreSystem\Bean_System\AdminMainWindows.resx

     文件        268  2010-12-21 11:18  仓库供货\StoreSystem\Bean_System\App.config

     文件       7903  2010-12-22 21:54  仓库供货\StoreSystem\Bean_System\Bean_System.csproj

     文件        227  2010-12-20 21:55  仓库供货\StoreSystem\Bean_System\Bean_System.csproj.user

     文件     213504  2010-12-22 22:59  仓库供货\StoreSystem\Bean_System\bin\Debug\Bean_System.exe

     文件        268  2010-12-21 11:18  仓库供货\StoreSystem\Bean_System\bin\Debug\Bean_System.exe.config

     文件     187904  2010-12-22 22:59  仓库供货\StoreSystem\Bean_System\bin\Debug\Bean_System.pdb

     文件      11600  2010-12-22 22:57  仓库供货\StoreSystem\Bean_System\bin\Debug\Bean_System.vshost.exe

     文件        268  2010-12-21 11:18  仓库供货\StoreSystem\Bean_System\bin\Debug\Bean_System.vshost.exe.config

     文件        490  2010-03-17 22:39  仓库供货\StoreSystem\Bean_System\bin\Debug\Bean_System.vshost.exe.manifest

     文件      17838  2010-12-22 17:47  仓库供货\StoreSystem\Bean_System\InventoryWindows.cs

     文件      27390  2010-12-22 17:24  仓库供货\StoreSystem\Bean_System\InventoryWindows.Designer.cs

     文件      15018  2010-12-22 17:24  仓库供货\StoreSystem\Bean_System\InventoryWindows.resx

     文件       3497  2010-12-22 22:59  仓库供货\StoreSystem\Bean_System\LoginWindows.cs

     文件       8891  2010-12-22 22:41  仓库供货\StoreSystem\Bean_System\LoginWindows.Designer.cs

     文件      14263  2010-12-22 22:41  仓库供货\StoreSystem\Bean_System\LoginWindows.resx

     文件       5996  2010-12-22 22:56  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.AdminMainWindows.resources

     文件       2743  2010-12-22 22:57  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.csproj.FileListAbsolute.txt

     文件     213504  2010-12-22 22:59  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.exe

     文件       5996  2010-12-22 22:23  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.InventoryWindows.resources

     文件       5996  2010-12-22 22:41  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.LoginWindows.resources

     文件     187904  2010-12-22 22:59  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.pdb

     文件      57497  2010-12-22 22:23  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.Properties.Resources.resources

     文件       5996  2010-12-22 22:23  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.SparesWindows.resources

     文件       5996  2010-12-22 22:23  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.StorehouseWindows.resources

     文件       5996  2010-12-22 22:23  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.SupplierWindows.resources

     文件       5996  2010-12-22 22:23  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.SupplyWindows.resources

     文件       5996  2010-12-22 22:55  仓库供货\StoreSystem\Bean_System\obj\x86\Debug\Bean_System.TouristWindows.resources

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

评论

共有 条评论