• 大小: 36.67MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-24
  • 语言: C#
  • 标签:

资源简介

asp.net 开发的进销存系统,架构明朗,代码工整有注释。

资源截图

代码片段和文件信息

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;
using XinzhengProductManage.systemmanage;

namespace XinzhengProductManage
{
    public partial class AppMain : Form
    {
        public AppMain()
        {
            InitializeComponent();
            Formlog log = new Formlog();
            log.ShowDialog();

        }
        public AppMain(int str)
        {
            AppMain.warn = str;
        }
        private Dictionary allTabItems = new Dictionary();
        #region 自定义自动添加TabItem选型卡的方法
        private DevComponents.DotNetBar.TabItem CreateItem(string text Control ctrl)
        {
            ctrl.Dock = Dockstyle.Fill;

            DevComponents.DotNetBar.TabItem item = this.tabTop.CreateTab(text);

            DevComponents.DotNetBar.TabControlPanel pnl = item.AttachedControl as DevComponents.DotNetBar.TabControlPanel;
            pnl.ColorSchemestyle = DevComponents.DotNetBar.eDotNetBarstyle.Office2007;
            pnl.Dock = Dockstyle.Fill;
            pnl.style.BackColor1.Alpha = ((byte)(128));
            pnl.style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))) ((int)(((byte)(253)))) ((int)(((byte)(254)))));
            pnl.style.BackColor2.Alpha = ((byte)(128));
            pnl.style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))) ((int)(((byte)(188)))) ((int)(((byte)(227)))));
            pnl.Padding = new Padding(3 2 3 3);

            item.AttachedControl.Controls.Add(ctrl);
            ctrl.Show();
            ctrl.BringToFront();

            return item;
        }
        #endregion

        private void toolbtnbaseProduct_Click(object sender EventArgs e)
        {
            try
            {
                DevComponents.DotNetBar.TabItem item;
                if (!allTabItems.TryGetValue(“配件基本信息“ out item))
                {
                    XinzhengProductManage.Goods.UsCt_message message = new XinzhengProductManage.Goods.UsCt_message();
                    item = CreateItem(“配件基本信息“ message);
                    allTabItems.Add(item.Text item);
                }
                this.tabTop.SelectedTab = item;
            }
            catch { }
        }

        private void tabTop_TabItemClose(object sender DevComponents.DotNetBar.TabStripActionEventArgs e)
        {
            allTabItems.Remove((sender as DevComponents.DotNetBar.TabControl).SelectedTab.Text);
        }

        private void btnibaseProduct_Click(object sender EventArgs e)
        {
            try
            {
                DevComponents.DotNetBar.TabItem item;
                if (!allTabItems.TryGetValue(“产品基本信息“ out item))
                {
                    XinzhengProduct

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-10-19 11:01  XinzhengProductManage2011-6-24\
     目录           0  2011-10-19 11:01  XinzhengProductManage2011-6-24\Backup\
     目录           0  2011-10-19 11:01  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\
     文件        1280  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage.sln
     文件      168960  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage.suo
     文件         970  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\App.config
     文件       14675  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\AppMain.cs
     文件       60754  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\AppMain.Designer.cs
     文件        8427  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\AppMain.resx
     目录           0  2011-10-19 11:01  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\
     文件       12013  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\NotifyMessForm.cs
     文件        9063  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\NotifyMessForm.designer.cs
     文件       13973  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\CautionMessage\NotifyMessForm.resx
     文件        5796  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Formlog.cs
     文件       22711  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Formlog.designer.cs
     文件       89855  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Formlog.resx
     目录           0  2011-10-19 11:01  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\
     文件        9042  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_AddMessage.cs
     文件       27587  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_AddMessage.Designer.cs
     文件        5814  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_AddMessage.resx
     文件        6637  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ReturnDetailsEdit.cs
     文件       19261  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ReturnDetailsEdit.designer.cs
     文件        5814  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ReturnDetailsEdit.resx
     文件        3858  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_Scrap.cs
     文件       21159  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_Scrap.Designer.cs
     文件        5814  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_Scrap.resx
     文件        4522  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ScrapDetail.cs
     文件       21109  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ScrapDetail.Designer.cs
     文件        5814  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_ScrapDetail.resx
     文件        6807  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_wordbook.cs
     文件       13371  2011-10-19 10:57  XinzhengProductManage2011-6-24\Backup\XinzhengProductManage\Goods\Frm_wordbook.Designer.cs
............此处省略385个文件信息

评论

共有 条评论