• 大小: 5.93MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-04-05
  • 语言: C#
  • 标签: C#项目  C#  含源码  

资源简介

C#项目之超市进销货存系统(含源码)

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CHEXC.ClassInfo;
using CHEXC.GoodMenhod;
using System.Data.SqlClient;
namespace CHEXC
{
    public partial class CompanyInfo : Form
    {
        public CompanyInfo()
        {
            InitializeComponent();
        }
        public CompanyInfo(int intResult)
        {
            InitializeComponent();
            intReturn = intResult;
        }
        public static int intReturn = 0;
        tb_Company Company = new tb_Company();
        tb_CompanyMenthod CompanyMenthod = new tb_CompanyMenthod();
        tb_JhGoodsInfoMenthod jhgood = new tb_JhGoodsInfoMenthod();
        public static int intFalg =0;
        private void ControlStatus()
        {
            this.toolSave.Enabled = !this.toolSave.Enabled;
            this.toolAdd.Enabled = !this.toolAdd.Enabled;
            this.toolCancel.Enabled = !this.toolCancel.Enabled;
            this.toolAmend.Enabled = !this.toolAmend.Enabled;
            this.toolrefesh.Enabled = !this.toolrefesh.Enabled;
        }

        /// 
        /// 将控件恢复到原始状态
        /// 

        private void ClearControls()
        {

            txtCompanyDirector.Text = ““;
            txtCompanyAddress.Text = ““;
            txtCompanyFax.Text = ““;
            txtCompanyName.Text = ““;
            txtCompanyPhone.Text = ““;
            txtCompanyRemark.Text = ““;
           
        }

        /// 控制控件状态
        /// 

        public int GetCount()
        {
            int intReslult = 0;
            if (intFalg == 1 || intFalg == 2)
            {
                if (txtCompanyName.Text == ““)
                {
                    MessageBox.Show(“供应商名称不能为空!“ “提示“);
                    return intReslult;
                }
                if (txtCompanyPhone.Text == ““)
                {
                    MessageBox.Show(“联系电话不能为空!“ “提示“);
                    return intReslult;
                }
                if (txtCompanyDirector.Text == ““)
                {
                    MessageBox.Show(“地址不能为空!“ “提示“);
                    return intReslult;
                }
                if (intFalg != 2)
                {
                    Company.intCompanyID = CompanyMenthod.tb_CustomerID();
                }
                else
                {
                    Company.intCompanyID = this.dataGridView1[0 this.dataGridView1.CurrentCell.RowIndex].Value.ToString();
                }
                Company.intEmpFalg = 0;
                Company.strCompanyAddress = txtCompanyAddress.Text;
                Company.strCompanyDirector = txtCompanyDirector.Text;
                Company.strCompanyFax = txtCompanyFax.Text;
                Company.strCompanyName = txtCompanyName.Text;
                Company.strCompanyPhone = tx

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-08-22 16:38  17超市进销货存系统\
     目录           0  2019-08-22 16:38  17超市进销货存系统\CHEXC\
     目录           0  2019-08-22 16:38  17超市进销货存系统\CHEXC\Backup\
     目录           0  2019-08-22 16:38  17超市进销货存系统\CHEXC\Backup\CHEXC\
     文件      162217  2010-09-18 17:14  17超市进销货存系统\CHEXC\Backup\CHEXC\bg.JPG
     目录           0  2019-08-22 16:38  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\
     文件        1492  2007-11-29 13:23  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\tb_Company.cs
     文件        2214  2007-11-30 09:57  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\tb_EmpInfo.cs
     文件        2392  2007-12-12 11:29  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\tb_JhGoodsInfo.cs
     文件        2310  2007-12-12 13:09  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\tb_KcGoods.cs
     文件        1944  2007-12-12 13:09  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\tb_SellGoods.cs
     文件        1840  2007-12-12 13:01  17超市进销货存系统\CHEXC\Backup\CHEXC\ClassInfo\tb_ThGoodsInfo.cs
     文件        9987  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\CompanyInfo.cs
     文件       19561  2010-09-18 16:58  17超市进销货存系统\CHEXC\Backup\CHEXC\CompanyInfo.Designer.cs
     文件       13650  2007-12-25 16:01  17超市进销货存系统\CHEXC\Backup\CHEXC\CompanyInfo.resx
     文件        2113  2010-09-18 16:58  17超市进销货存系统\CHEXC\Backup\CHEXC\DataBack.cs
     文件        5090  2010-09-18 16:58  17超市进销货存系统\CHEXC\Backup\CHEXC\DataBack.Designer.cs
     文件        6022  2007-12-25 16:01  17超市进销货存系统\CHEXC\Backup\CHEXC\DataBack.resx
     文件        3264  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\DataReole.cs
     文件        4221  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\DataReole.Designer.cs
     文件        6017  2007-12-25 15:58  17超市进销货存系统\CHEXC\Backup\CHEXC\DataReole.resx
     文件       10699  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\EmpInfo.cs
     文件       24277  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\EmpInfo.Designer.cs
     文件       15670  2007-12-13 09:30  17超市进销货存系统\CHEXC\Backup\CHEXC\EmpInfo.resx
     文件        1848  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\FindGood.cs
     文件        7291  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\FindGood.Designer.cs
     文件        7102  2007-12-25 16:01  17超市进销货存系统\CHEXC\Backup\CHEXC\FindGood.resx
     文件        1358  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\GonYingShang.cs
     文件        4686  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\GonYingShang.Designer.cs
     文件        9894  2007-12-25 16:01  17超市进销货存系统\CHEXC\Backup\CHEXC\GonYingShang.resx
     文件        1736  2010-09-18 16:59  17超市进销货存系统\CHEXC\Backup\CHEXC\GoodID.cs
............此处省略195个文件信息

评论

共有 条评论