Backup/Daila/frmCustomerUpdate.cs

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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.OleDb;
using Daila.NewMehod;
using Daila.NewClass;
namespace Daila
{
    public partial class frmCustomerUpdate : Form
    {
        public frmCustomerUpdate()
        {
            InitializeComponent();
        }
        public frmCustomerUpdate(int falg)
        {
            InitializeComponent();
            intFlag = falg;
        }
        public static int intFlag;
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }
        tbCustomerClass tbClass = new tbCustomerClass();
        tbCustomerMethod tbMenthod = new tbCustomerMethod();
        tbDistionMenthod tbDistion = new tbDistionMenthod();//实例字典表类
        private void frmCustomerUpdate_Load(object sender, EventArgs e)
        { //绑定TreeView控件
            tbClass.khID = "";
            tbMenthod.filltbProPath(treeView1, imageList1, tbMenthod.tbCustomerSecarf(tbClass, "LikekhID"));

           
            tbDistion.filltb_Importance(cmbkhType);//客户重要程度
            tbDistion.filltb_Industry(cmbkhHandye);//行业
            tbDistion.filltb_Production(cmbkuChangPi);//产品名称
            tbDistion.filltb_Type(cmbkhState);//客户状态

            if (intFlag == 1)
            {
                this.Text = "添加客户信息";
                txtId.Text = tbMenthod.tbCustomerID();//获得客户ID
                bntDelete.Enabled = false;
                bntEsce.Enabled = true;
                bntOK.Enabled = true;
                bntUpdate.Enabled = false;

            }
            if (intFlag == 2)
            {
                this.Text = "修改客户信息";
                bntDelete.Enabled = false;
                bntEsce.Enabled = true;
                bntOK.Enabled =false;
                bntUpdate.Enabled = true;
后面还有 227 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。