• 大小: 2.75MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-06
  • 语言: 数据库
  • 标签:

资源简介

内含完整的一套进销存源代码和数据库 ,下载后附加数据库到SQL2000即可运行,结构完整清晰

资源截图

代码片段和文件信息

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

using GoodsReportManage.ItemClass;
using GoodsReportManage.Goods;
using System.Collections;

namespace GoodsReportManage
{
    public partial class AppMain : Form
    {
        public AppMain()
        {
            InitializeComponent();
        }

        SqlbaseClass G_SqlClass = new SqlbaseClass();

        /// 
        /// 根据用户权限分配显示菜单
        /// 

        public void MenuIsVisible()
        {
            ArrayList arylst = new ArrayList();
            ToolStripMenuItem[] menu = new ToolStripMenuItem[] {
                this.menuEmployeethis.menuCompanythis.menuCustomerthis.menuGoodsInthis.menuGoodsOutthis.menuSellGoods
                this.menuGoodsBackthis.menuDepotChangethis.menuDepotAlarmthis.menuSysUserthis.menuPopedomSetthis.menuDatabakthis.menuReBakData
            };
            DataSet P_ds = G_SqlClass.GetDs(“SELECT * FROM v_UserView WHERE SysLoginName = ‘“+ PropertyClass.SendNameValue+“‘“);

            for (int i = 0; i < 13; i++)
            {
                arylst.Add(P_ds.Tables[0].Rows[0][14+i].ToString());
            }
            for (int j = 0; j < arylst.Count; j++)
            {
                if (arylst[j].ToString() == “False“)
                {
                    menu[j].Visible = false;
                }
                else
                {
                    menu[j].Visible = true;
                }
            }
        }

        private void timer1_Tick(object sender EventArgs e)
        {
         this.statusTime.Text = “当前时间:“ + DateTime.Now.ToString();
        }

        private void AppMain_Load(object sender EventArgs e)
        {
            this.timer1.Start();
            this.statusUser.Text = “系统操作员:“+PropertyClass.SendNameValue;
            MenuIsVisible();
        }

        private void AppMain_FormClosing(object sender FormClosingEventArgs e)
        {
        }

        private void Menu_Click(object sender EventArgs e)
        {
            WinOperationClass P_Menu = new WinOperationClass();  //声明对WinForm窗体进行操作的类对象
            P_Menu.ShowForm((ToolStripMenuItem)sender this);   //调用类中的方法,完成对窗体中ToolStripMenuItem控件相应项的操作
        }

        private void AppMain_FormClosed_1(object sender FormClosedEventArgs e)
        {
            if (MessageBox.Show(“确定要退出吗?“ “提示对话框“ MessageBoxButtons.YesNo MessageBoxIcon.Information) == DialogResult.Yes)
            {
                Application.Exit();
                this.Dispose();
            }
            else
            {
                AppMain app = new AppMain();
                app.Show();
            }
        }

        private void menubaseManage_Click(object sender EventArgs e)
        {

        }

        private void menuStrip1_ItemClicked(object

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

     文件       2066  2007-03-07 08:34  zhy\china-code.net.txt

     文件        434  2012-06-30 23:59  zhy\readme.txt

     文件       2066  2007-03-07 08:34  zhy\商品进销存报表系统\china-code.net.txt

     文件       2066  2007-03-07 08:34  zhy\商品进销存报表系统\GoodsReportManage\china-code.net.txt

     文件       3145  2012-07-25 11:20  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\AppMain.cs

     文件      28057  2012-07-18 19:44  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\AppMain.Designer.cs

     文件     219731  2012-07-18 17:47  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\AppMain.resx

     文件       2066  2007-03-07 08:34  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\china-code.net.txt

     文件       9817  2006-12-04 15:34  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\CompanyInfo.cs

     文件      19928  2006-12-04 15:34  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\CompanyInfo.Designer.cs

     文件      13803  2006-10-24 09:11  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\CompanyInfo.resx

     文件      10257  2006-12-07 18:40  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\CustomerInfo.cs

     文件      20770  2006-12-07 18:40  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\CustomerInfo.Designer.cs

     文件      13960  2006-12-07 18:40  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\CustomerInfo.resx

     文件      12723  2012-07-31 11:42  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\EmployeeInfo.cs

     文件      22809  2012-07-29 17:59  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\EmployeeInfo.Designer.cs

     文件      14488  2012-07-29 17:59  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\EmployeeInfo.resx

     文件      13457  2007-03-07 08:49  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\baseRecord\说明.html

     文件       2066  2007-03-07 08:34  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\china-code.net.txt

     文件       2066  2007-03-07 08:34  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\china-code.net.txt

     文件       2066  2007-03-07 08:34  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\Database\china-code.net.txt

     文件    2490368  2012-07-02 16:25  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\Database\db_GoodsManage_Data.MDF

     文件    4325376  2012-07-02 16:25  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\Database\db_GoodsManage_Data_log.ldf

     文件    1048576  2006-12-21 20:17  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\Database\db_GoodsManage_Log.LDF

     文件      13457  2007-03-07 08:49  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\Database\说明.html

     文件     573440  2012-08-23 20:48  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.exe

     文件     417280  2012-08-23 20:48  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.pdb

     文件       5632  2005-11-11 22:25  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\GoodsReportManage.vshost.exe

     文件      13457  2007-03-07 08:49  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\Debug\说明.html

     文件      13457  2007-03-07 08:49  zhy\商品进销存报表系统\GoodsReportManage\GoodsReportManage\bin\说明.html

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

评论

共有 条评论

相关资源