GG_DPS/FBaseLabelSet.cs

(开头部分) 4KB

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

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

namespace GG_DPS
{
    public partial class FBaseLabelSet : Form
    {
        public FBaseLabelSet()
        {
            InitializeComponent();
        }
        public string _Aim = "";
        public int _Level = 0;
        private DataTable tb;

        private void FBaseLabelSet_Load(object sender, EventArgs e)
        {
            DPS_StorePosition pst = new DPS_StorePosition();
            if (_Level == 1)
            {
                pst.positionId = _Aim + "-%";
                cbxzt.Enabled = false;
                panel1.Location = new System.Drawing.Point(3, 48);
                panel1.Size = new System.Drawing.Size(380, 136);
                lbmsg.Text = "您正在设置 " + _Aim + " 电子标签地址";
                button1.Location = new System.Drawing.Point(85, 194);
                button2.Location = new System.Drawing.Point(240, 194);
                this.Size = new System.Drawing.Size(393, 262);
            }
            else
                if (_Level == 2)
                {
                    pst.positionId = _Aim;
                    cbxzt.Enabled = true;
                    panel1.Location = new System.Drawing.Point(31, 48);
                    panel1.Size = new System.Drawing.Size(380, 243);
                    lbmsg.Text = "您正在设置 " + _Aim + " 货格的属性";
                    button1.Location = new System.Drawing.Point(108, 306);
                    button2.Location = new System.Drawing.Point(263, 306);
                    this.Size = new System.Drawing.Size(454, 369);
                }
            tb = pst.Select(5).Tables[0];

            tbxzt.DataBindings.Add("Text", tb, "istatus");
            cbxzt.SelectedIndex = Convert.ToInt32((tbxzt.Text.Trim() == "") ? "0" : tbxzt.Text);
            //tbxbh.DataBindings.Add("Text", tb, "positionId");
            tbxdz.DataBindings.Add("Text", tb, "address");
            tbxph.DataBindings.Add("Text", tb, "row");
            tbxlh.DataBindings.Add("Text", tb, "list");
            tbxch.DataBindings.Add("Text", tb, "layer");
            tbxhg.DataBindings.Add("Text", tb, "box");
            tbxbz.DataBindings.Add("Text", tb, "note");
            txtmno.DataBindings.Add("Text", tb, "Mno");
            txtMqty.DataBindings.Add("Text", tb, "Mqty");
后面还有 64 行代码,购买后查看完整代码

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

AI 解读

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

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