C3032
2026-01-16 2ee0bae58228032e469245e784c823693cdafe6f
界面控件布局优化
解决界面冲突
已修改2个文件
60 ■■■■ 文件已修改
LB_VisionProcesses/Communicators/CommunicatorForm.Designer.cs 58 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_VisionProcesses/Communicators/CommunicatorForm.resx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LB_VisionProcesses/Communicators/CommunicatorForm.Designer.cs
@@ -75,9 +75,9 @@
            grpSetting.Controls.Add(lblIP);
            grpSetting.ForeColor = SystemColors.Control;
            grpSetting.Location = new Point(22, 92);
            grpSetting.Margin = new Padding(4, 4, 4, 4);
            grpSetting.Margin = new Padding(4);
            grpSetting.Name = "grpSetting";
            grpSetting.Padding = new Padding(4, 4, 4, 4);
            grpSetting.Padding = new Padding(4);
            grpSetting.Size = new Size(250, 262);
            grpSetting.TabIndex = 0;
            grpSetting.TabStop = false;
@@ -86,7 +86,7 @@
            // txtIP
            // 
            txtIP.Location = new Point(104, 40);
            txtIP.Margin = new Padding(4, 4, 4, 4);
            txtIP.Margin = new Padding(4);
            txtIP.Name = "txtIP";
            txtIP.Size = new Size(124, 27);
            txtIP.TabIndex = 7;
@@ -94,7 +94,7 @@
            // txtPort
            // 
            txtPort.Location = new Point(104, 88);
            txtPort.Margin = new Padding(4, 4, 4, 4);
            txtPort.Margin = new Padding(4);
            txtPort.Name = "txtPort";
            txtPort.Size = new Size(124, 27);
            txtPort.TabIndex = 6;
@@ -113,7 +113,7 @@
            // 
            btnDisconnect.ForeColor = SystemColors.Control;
            btnDisconnect.Location = new Point(148, 136);
            btnDisconnect.Margin = new Padding(4, 4, 4, 4);
            btnDisconnect.Margin = new Padding(4);
            btnDisconnect.Name = "btnDisconnect";
            btnDisconnect.Size = new Size(94, 29);
            btnDisconnect.TabIndex = 3;
@@ -125,7 +125,7 @@
            // 
            btnConnect.ForeColor = SystemColors.Control;
            btnConnect.Location = new Point(18, 136);
            btnConnect.Margin = new Padding(4, 4, 4, 4);
            btnConnect.Margin = new Padding(4);
            btnConnect.Name = "btnConnect";
            btnConnect.Size = new Size(94, 29);
            btnConnect.TabIndex = 2;
@@ -137,7 +137,7 @@
            // 
            cmbIP.FormattingEnabled = true;
            cmbIP.Location = new Point(104, 39);
            cmbIP.Margin = new Padding(4, 4, 4, 4);
            cmbIP.Margin = new Padding(4);
            cmbIP.Name = "cmbIP";
            cmbIP.Size = new Size(124, 28);
            cmbIP.TabIndex = 1;
@@ -157,7 +157,7 @@
            // lblDataType
            // 
            lblDataType.AutoSize = true;
            lblDataType.Location = new Point(200, 144);
            lblDataType.Location = new Point(206, 145);
            lblDataType.Margin = new Padding(4, 0, 4, 0);
            lblDataType.Name = "lblDataType";
            lblDataType.Size = new Size(39, 20);
@@ -167,10 +167,10 @@
            // cmbDataType
            // 
            cmbDataType.FormattingEnabled = true;
            cmbDataType.Location = new Point(250, 140);
            cmbDataType.Margin = new Padding(4, 4, 4, 4);
            cmbDataType.Location = new Point(255, 140);
            cmbDataType.Margin = new Padding(4);
            cmbDataType.Name = "cmbDataType";
            cmbDataType.Size = new Size(116, 28);
            cmbDataType.Size = new Size(94, 28);
            cmbDataType.TabIndex = 9;
            // 
            // grpReceive
@@ -178,9 +178,9 @@
            grpReceive.Controls.Add(txtReceiveMsg);
            grpReceive.ForeColor = SystemColors.Control;
            grpReceive.Location = new Point(22, 389);
            grpReceive.Margin = new Padding(4, 4, 4, 4);
            grpReceive.Margin = new Padding(4);
            grpReceive.Name = "grpReceive";
            grpReceive.Padding = new Padding(4, 4, 4, 4);
            grpReceive.Padding = new Padding(4);
            grpReceive.Size = new Size(679, 218);
            grpReceive.TabIndex = 5;
            grpReceive.TabStop = false;
@@ -190,7 +190,7 @@
            // 
            txtReceiveMsg.Dock = DockStyle.Fill;
            txtReceiveMsg.Location = new Point(4, 24);
            txtReceiveMsg.Margin = new Padding(4, 4, 4, 4);
            txtReceiveMsg.Margin = new Padding(4);
            txtReceiveMsg.Multiline = true;
            txtReceiveMsg.Name = "txtReceiveMsg";
            txtReceiveMsg.ReadOnly = true;
@@ -202,7 +202,7 @@
            // 
            txtSendMsg.ForeColor = SystemColors.WindowText;
            txtSendMsg.Location = new Point(26, 311);
            txtSendMsg.Margin = new Padding(4, 4, 4, 4);
            txtSendMsg.Margin = new Padding(4);
            txtSendMsg.Name = "txtSendMsg";
            txtSendMsg.Size = new Size(238, 27);
            txtSendMsg.TabIndex = 10;
@@ -211,7 +211,7 @@
            // 
            btnSend.ForeColor = SystemColors.WindowText;
            btnSend.Location = new Point(22, 352);
            btnSend.Margin = new Padding(4, 4, 4, 4);
            btnSend.Margin = new Padding(4);
            btnSend.Name = "btnSend";
            btnSend.Size = new Size(94, 29);
            btnSend.TabIndex = 11;
@@ -235,9 +235,9 @@
            grpTest.Controls.Add(cmbDataType);
            grpTest.ForeColor = SystemColors.Control;
            grpTest.Location = new Point(301, 92);
            grpTest.Margin = new Padding(4, 4, 4, 4);
            grpTest.Margin = new Padding(4);
            grpTest.Name = "grpTest";
            grpTest.Padding = new Padding(4, 4, 4, 4);
            grpTest.Padding = new Padding(4);
            grpTest.Size = new Size(400, 262);
            grpTest.TabIndex = 12;
            grpTest.TabStop = false;
@@ -256,7 +256,7 @@
            // txtAddress
            // 
            txtAddress.Location = new Point(74, 140);
            txtAddress.Margin = new Padding(4, 4, 4, 4);
            txtAddress.Margin = new Padding(4);
            txtAddress.Name = "txtAddress";
            txtAddress.ReadOnly = true;
            txtAddress.Size = new Size(116, 27);
@@ -266,7 +266,7 @@
            // 
            ckbRuleCheck.AutoSize = true;
            ckbRuleCheck.Location = new Point(69, 216);
            ckbRuleCheck.Margin = new Padding(4, 4, 4, 4);
            ckbRuleCheck.Margin = new Padding(4);
            ckbRuleCheck.Name = "ckbRuleCheck";
            ckbRuleCheck.Size = new Size(121, 24);
            ckbRuleCheck.TabIndex = 6;
@@ -277,7 +277,7 @@
            // 
            cmbCom.FormattingEnabled = true;
            cmbCom.Location = new Point(255, 44);
            cmbCom.Margin = new Padding(4, 4, 4, 4);
            cmbCom.Margin = new Padding(4);
            cmbCom.Name = "cmbCom";
            cmbCom.Size = new Size(124, 28);
            cmbCom.TabIndex = 8;
@@ -287,7 +287,7 @@
            // 
            cmbType.FormattingEnabled = true;
            cmbType.Location = new Point(74, 45);
            cmbType.Margin = new Padding(4, 4, 4, 4);
            cmbType.Margin = new Padding(4);
            cmbType.Name = "cmbType";
            cmbType.Size = new Size(116, 28);
            cmbType.TabIndex = 5;
@@ -306,7 +306,7 @@
            // 
            btnRun.ForeColor = SystemColors.WindowText;
            btnRun.Location = new Point(269, 210);
            btnRun.Margin = new Padding(4, 4, 4, 4);
            btnRun.Margin = new Padding(4);
            btnRun.Name = "btnRun";
            btnRun.Size = new Size(94, 29);
            btnRun.TabIndex = 3;
@@ -337,7 +337,7 @@
            // txtMsg
            // 
            txtMsg.Location = new Point(74, 95);
            txtMsg.Margin = new Padding(4, 4, 4, 4);
            txtMsg.Margin = new Padding(4);
            txtMsg.Name = "txtMsg";
            txtMsg.ReadOnly = true;
            txtMsg.Size = new Size(305, 27);
@@ -347,7 +347,7 @@
            // 
            btnRuleSend.ForeColor = SystemColors.WindowText;
            btnRuleSend.Location = new Point(148, 352);
            btnRuleSend.Margin = new Padding(4, 4, 4, 4);
            btnRuleSend.Margin = new Padding(4);
            btnRuleSend.Name = "btnRuleSend";
            btnRuleSend.Size = new Size(94, 29);
            btnRuleSend.TabIndex = 13;
@@ -374,7 +374,7 @@
            themeForm1.Font = new Font("Microsoft Sans Serif", 9F);
            themeForm1.Image = (Image)resources.GetObject("themeForm1.Image");
            themeForm1.Location = new Point(0, 0);
            themeForm1.Margin = new Padding(4, 4, 4, 4);
            themeForm1.Margin = new Padding(4);
            themeForm1.Name = "themeForm1";
            themeForm1.Padding = new Padding(12, 88, 12, 11);
            themeForm1.RoundCorners = true;
@@ -395,8 +395,8 @@
            controlBox1.EnableMaximizeButton = false;
            controlBox1.EnableMinimizeButton = false;
            controlBox1.ForeColor = Color.FromArgb(155, 155, 155);
            controlBox1.Location = new Point(601, 22);
            controlBox1.Margin = new Padding(4, 4, 4, 4);
            controlBox1.Location = new Point(601, 18);
            controlBox1.Margin = new Padding(4);
            controlBox1.MaximizeHoverColor = Color.FromArgb(74, 74, 74);
            controlBox1.MinimizeHoverColor = Color.FromArgb(63, 63, 65);
            controlBox1.Name = "controlBox1";
@@ -418,7 +418,7 @@
            Controls.Add(grpSetting);
            Controls.Add(themeForm1);
            FormBorderStyle = FormBorderStyle.None;
            Margin = new Padding(4, 4, 4, 4);
            Margin = new Padding(4);
            MinimumSize = new Size(326, 76);
            Name = "CommunicatorForm";
            Text = "通讯测试";
LB_VisionProcesses/Communicators/CommunicatorForm.resx
@@ -121,7 +121,7 @@
  <data name="themeForm1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
        wAAADsABataJCQAAA+JJREFUWEftVkuIHGUQbt34iMEoq2S2q3p3yTJsuqpnJ+L6WBRdwaigohfFgEou
        vgAADr4B6kKxwAAAA+JJREFUWEftVkuIHGUQbt34iMEoq2S2q3p3yTJsuqpnJ+L6WBRdwaigohfFgEou
        BkVBUPCBCEG8BXNQ48GLeImCehIJxMsqhsSZruod46K4HtSIGjU+4iOr0c1I9fSsM3/PLNtCPO0H36m/
        evz/X11VnreKVRTAHPOZumkY6lFwqURws3BwZ8ywTQnuiCP/+iTCzY1qaUPzdm/Atf3PaHre6XPsjyQM
        2xLGV4XwIyX4QRj+UMK/lPFvJTyhBMeV8IgQvmRJuH4Ko+l5p9UjGBbCJ5RxTgj+VMZmXxKcSAjekHE/