From cb61a204c29e9b14d0b3f4e677d8489fc40cba51 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期三, 24 十二月 2025 11:20:33 +0800
Subject: [PATCH] 增加多流程JSON保存以及加载。

---
 LB_VisionControl/ScriptEditControl/ComplieUI.Designer.cs |  262 ++++++++++++++++++++++++++-------------------------
 1 files changed, 133 insertions(+), 129 deletions(-)

diff --git a/LB_VisionControl/ScriptEditControl/ComplieUI.Designer.cs b/LB_VisionControl/ScriptEditControl/ComplieUI.Designer.cs
index b8dcae0..43e459e 100644
--- a/LB_VisionControl/ScriptEditControl/ComplieUI.Designer.cs
+++ b/LB_VisionControl/ScriptEditControl/ComplieUI.Designer.cs
@@ -28,174 +28,178 @@
         /// </summary>
         private void InitializeComponent()
         {
-            this.btnCsc = new System.Windows.Forms.Button();
-            this.chkCmd = new System.Windows.Forms.CheckBox();
-            this.radDll = new System.Windows.Forms.RadioButton();
-            this.radWinexe = new System.Windows.Forms.RadioButton();
-            this.radExe = new System.Windows.Forms.RadioButton();
-            this.txtArgs = new System.Windows.Forms.TextBox();
-            this.label2 = new System.Windows.Forms.Label();
-            this.txtOutput = new System.Windows.Forms.TextBox();
-            this.contextMenuStripEx1 = new ContextMenuStripEx();
-            this.澶嶅埗ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
-            this.娓呴櫎ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.contextMenuStripEx1.SuspendLayout();
-            this.SuspendLayout();
+            btnCsc = new Button();
+            chkCmd = new CheckBox();
+            radDll = new RadioButton();
+            radWinexe = new RadioButton();
+            radExe = new RadioButton();
+            txtArgs = new TextBox();
+            label2 = new Label();
+            txtOutput = new TextBox();
+            contextMenuStripEx1 = new ContextMenuStripEx();
+            澶嶅埗ToolStripMenuItem = new ToolStripMenuItem();
+            toolStripMenuItem1 = new ToolStripSeparator();
+            娓呴櫎ToolStripMenuItem = new ToolStripMenuItem();
+            contextMenuStripEx1.SuspendLayout();
+            SuspendLayout();
             // 
             // btnCsc
             // 
-            this.btnCsc.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
-            this.btnCsc.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnCsc.ForeColor = System.Drawing.Color.White;
-            this.btnCsc.Location = new System.Drawing.Point(356, 3);
-            this.btnCsc.Name = "btnCsc";
-            this.btnCsc.Size = new System.Drawing.Size(44, 23);
-            this.btnCsc.TabIndex = 16;
-            this.btnCsc.Text = "CSC";
-            this.btnCsc.UseVisualStyleBackColor = true;
-            this.btnCsc.Click += new System.EventHandler(this.btnCsc_Click);
+            btnCsc.FlatStyle = FlatStyle.Flat;
+            btnCsc.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
+            btnCsc.ForeColor = Color.White;
+            btnCsc.Location = new Point(415, 4);
+            btnCsc.Margin = new Padding(4, 4, 4, 4);
+            btnCsc.Name = "btnCsc";
+            btnCsc.Size = new Size(51, 33);
+            btnCsc.TabIndex = 16;
+            btnCsc.Text = "CSC";
+            btnCsc.UseVisualStyleBackColor = true;
+            btnCsc.Click += btnCsc_Click;
             // 
             // chkCmd
             // 
-            this.chkCmd.AutoSize = true;
-            this.chkCmd.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.chkCmd.ForeColor = System.Drawing.Color.White;
-            this.chkCmd.Location = new System.Drawing.Point(304, 6);
-            this.chkCmd.Name = "chkCmd";
-            this.chkCmd.Size = new System.Drawing.Size(57, 21);
-            this.chkCmd.TabIndex = 13;
-            this.chkCmd.Text = "CMD";
-            this.chkCmd.UseVisualStyleBackColor = true;
+            chkCmd.AutoSize = true;
+            chkCmd.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
+            chkCmd.ForeColor = Color.White;
+            chkCmd.Location = new Point(355, 8);
+            chkCmd.Margin = new Padding(4, 4, 4, 4);
+            chkCmd.Name = "chkCmd";
+            chkCmd.Size = new Size(57, 21);
+            chkCmd.TabIndex = 13;
+            chkCmd.Text = "CMD";
+            chkCmd.UseVisualStyleBackColor = true;
             // 
             // radDll
             // 
-            this.radDll.AutoSize = true;
-            this.radDll.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.radDll.ForeColor = System.Drawing.Color.White;
-            this.radDll.Location = new System.Drawing.Point(256, 5);
-            this.radDll.Name = "radDll";
-            this.radDll.Size = new System.Drawing.Size(42, 21);
-            this.radDll.TabIndex = 12;
-            this.radDll.Text = "dll";
-            this.radDll.UseVisualStyleBackColor = true;
+            radDll.AutoSize = true;
+            radDll.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
+            radDll.ForeColor = Color.White;
+            radDll.Location = new Point(299, 7);
+            radDll.Margin = new Padding(4, 4, 4, 4);
+            radDll.Name = "radDll";
+            radDll.Size = new Size(42, 21);
+            radDll.TabIndex = 12;
+            radDll.Text = "dll";
+            radDll.UseVisualStyleBackColor = true;
             // 
             // radWinexe
             // 
-            this.radWinexe.AutoSize = true;
-            this.radWinexe.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.radWinexe.ForeColor = System.Drawing.Color.White;
-            this.radWinexe.Location = new System.Drawing.Point(185, 5);
-            this.radWinexe.Name = "radWinexe";
-            this.radWinexe.Size = new System.Drawing.Size(69, 21);
-            this.radWinexe.TabIndex = 10;
-            this.radWinexe.Text = "winexe";
-            this.radWinexe.UseVisualStyleBackColor = true;
+            radWinexe.AutoSize = true;
+            radWinexe.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
+            radWinexe.ForeColor = Color.White;
+            radWinexe.Location = new Point(216, 7);
+            radWinexe.Margin = new Padding(4, 4, 4, 4);
+            radWinexe.Name = "radWinexe";
+            radWinexe.Size = new Size(69, 21);
+            radWinexe.TabIndex = 10;
+            radWinexe.Text = "winexe";
+            radWinexe.UseVisualStyleBackColor = true;
             // 
             // radExe
             // 
-            this.radExe.AutoSize = true;
-            this.radExe.BackColor = System.Drawing.Color.Transparent;
-            this.radExe.Checked = true;
-            this.radExe.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.radExe.ForeColor = System.Drawing.Color.White;
-            this.radExe.Location = new System.Drawing.Point(137, 5);
-            this.radExe.Name = "radExe";
-            this.radExe.Size = new System.Drawing.Size(47, 21);
-            this.radExe.TabIndex = 11;
-            this.radExe.TabStop = true;
-            this.radExe.Text = "exe";
-            this.radExe.UseVisualStyleBackColor = false;
+            radExe.AutoSize = true;
+            radExe.BackColor = Color.Transparent;
+            radExe.Checked = true;
+            radExe.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
+            radExe.ForeColor = Color.White;
+            radExe.Location = new Point(160, 7);
+            radExe.Margin = new Padding(4, 4, 4, 4);
+            radExe.Name = "radExe";
+            radExe.Size = new Size(47, 21);
+            radExe.TabIndex = 11;
+            radExe.TabStop = true;
+            radExe.Text = "exe";
+            radExe.UseVisualStyleBackColor = false;
             // 
             // txtArgs
             // 
-            this.txtArgs.BackColor = System.Drawing.Color.White;
-            this.txtArgs.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.txtArgs.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtArgs.Location = new System.Drawing.Point(45, 3);
-            this.txtArgs.Name = "txtArgs";
-            this.txtArgs.Size = new System.Drawing.Size(86, 23);
-            this.txtArgs.TabIndex = 8;
+            txtArgs.BackColor = Color.White;
+            txtArgs.BorderStyle = BorderStyle.FixedSingle;
+            txtArgs.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
+            txtArgs.Location = new Point(52, 4);
+            txtArgs.Margin = new Padding(4, 4, 4, 4);
+            txtArgs.Name = "txtArgs";
+            txtArgs.Size = new Size(100, 23);
+            txtArgs.TabIndex = 8;
             // 
             // label2
             // 
-            this.label2.AutoSize = true;
-            this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
-            this.label2.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label2.ForeColor = System.Drawing.Color.White;
-            this.label2.Location = new System.Drawing.Point(3, 7);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(44, 17);
-            this.label2.TabIndex = 9;
-            this.label2.Text = "鍙傛暟锛�";
+            label2.AutoSize = true;
+            label2.FlatStyle = FlatStyle.Flat;
+            label2.Font = new Font("寰蒋闆呴粦", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
+            label2.ForeColor = Color.White;
+            label2.Location = new Point(4, 10);
+            label2.Margin = new Padding(4, 0, 4, 0);
+            label2.Name = "label2";
+            label2.Size = new Size(44, 17);
+            label2.TabIndex = 9;
+            label2.Text = "鍙傛暟锛�";
             // 
             // txtOutput
             // 
-            this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
-                        | System.Windows.Forms.AnchorStyles.Left)
-                        | System.Windows.Forms.AnchorStyles.Right)));
-            this.txtOutput.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(17)))), ((int)(((byte)(18)))));
-            this.txtOutput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.txtOutput.ContextMenuStrip = this.contextMenuStripEx1;
-            this.txtOutput.Font = new System.Drawing.Font("寰蒋闆呴粦", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtOutput.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.txtOutput.Location = new System.Drawing.Point(0, 29);
-            this.txtOutput.Multiline = true;
-            this.txtOutput.Name = "txtOutput";
-            this.txtOutput.ReadOnly = true;
-            this.txtOutput.ScrollBars = System.Windows.Forms.ScrollBars.Both;
-            this.txtOutput.Size = new System.Drawing.Size(492, 162);
-            this.txtOutput.TabIndex = 7;
+            txtOutput.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+            txtOutput.BackColor = Color.FromArgb(30, 17, 18);
+            txtOutput.BorderStyle = BorderStyle.FixedSingle;
+            txtOutput.ContextMenuStrip = contextMenuStripEx1;
+            txtOutput.Font = new Font("寰蒋闆呴粦", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134);
+            txtOutput.ForeColor = Color.FromArgb(255, 255, 128);
+            txtOutput.Location = new Point(0, 41);
+            txtOutput.Margin = new Padding(4, 4, 4, 4);
+            txtOutput.Multiline = true;
+            txtOutput.Name = "txtOutput";
+            txtOutput.ReadOnly = true;
+            txtOutput.ScrollBars = ScrollBars.Both;
+            txtOutput.Size = new Size(574, 229);
+            txtOutput.TabIndex = 7;
             // 
             // contextMenuStripEx1
             // 
-            this.contextMenuStripEx1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
-            this.澶嶅埗ToolStripMenuItem,
-            this.toolStripMenuItem1,
-            this.娓呴櫎ToolStripMenuItem});
-            this.contextMenuStripEx1.Name = "contextMenuStripEx1";
-            this.contextMenuStripEx1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
-            this.contextMenuStripEx1.Size = new System.Drawing.Size(101, 54);
+            contextMenuStripEx1.Items.AddRange(new ToolStripItem[] { 澶嶅埗ToolStripMenuItem, toolStripMenuItem1, 娓呴櫎ToolStripMenuItem });
+            contextMenuStripEx1.Name = "contextMenuStripEx1";
+            contextMenuStripEx1.RenderMode = ToolStripRenderMode.System;
+            contextMenuStripEx1.Size = new Size(101, 54);
             // 
             // 澶嶅埗ToolStripMenuItem
             // 
-            this.澶嶅埗ToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.澶嶅埗ToolStripMenuItem.Name = "澶嶅埗ToolStripMenuItem";
-            this.澶嶅埗ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
-            this.澶嶅埗ToolStripMenuItem.Text = "澶嶅埗";
-            this.澶嶅埗ToolStripMenuItem.Click += new System.EventHandler(this.texstToolStripMenuItem_Click);
+            澶嶅埗ToolStripMenuItem.ForeColor = Color.FromArgb(255, 255, 128);
+            澶嶅埗ToolStripMenuItem.Name = "澶嶅埗ToolStripMenuItem";
+            澶嶅埗ToolStripMenuItem.Size = new Size(100, 22);
+            澶嶅埗ToolStripMenuItem.Text = "澶嶅埗";
+            澶嶅埗ToolStripMenuItem.Click += texstToolStripMenuItem_Click;
             // 
             // toolStripMenuItem1
             // 
-            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
-            this.toolStripMenuItem1.Size = new System.Drawing.Size(97, 6);
+            toolStripMenuItem1.Name = "toolStripMenuItem1";
+            toolStripMenuItem1.Size = new Size(97, 6);
             // 
             // 娓呴櫎ToolStripMenuItem
             // 
-            this.娓呴櫎ToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.娓呴櫎ToolStripMenuItem.Name = "娓呴櫎ToolStripMenuItem";
-            this.娓呴櫎ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
-            this.娓呴櫎ToolStripMenuItem.Text = "娓呴櫎";
-            this.娓呴櫎ToolStripMenuItem.Click += new System.EventHandler(this.娓呮ToolStripMenuItem_Click);
+            娓呴櫎ToolStripMenuItem.ForeColor = Color.FromArgb(255, 255, 128);
+            娓呴櫎ToolStripMenuItem.Name = "娓呴櫎ToolStripMenuItem";
+            娓呴櫎ToolStripMenuItem.Size = new Size(100, 22);
+            娓呴櫎ToolStripMenuItem.Text = "娓呴櫎";
+            娓呴櫎ToolStripMenuItem.Click += 娓呮ToolStripMenuItem_Click;
             // 
             // ComplieUI
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.BackColor = System.Drawing.Color.Black;
-            this.Controls.Add(this.radDll);
-            this.Controls.Add(this.btnCsc);
-            this.Controls.Add(this.chkCmd);
-            this.Controls.Add(this.radWinexe);
-            this.Controls.Add(this.radExe);
-            this.Controls.Add(this.txtOutput);
-            this.Controls.Add(this.txtArgs);
-            this.Controls.Add(this.label2);
-            this.Name = "ComplieUI";
-            this.Size = new System.Drawing.Size(492, 192);
-            this.contextMenuStripEx1.ResumeLayout(false);
-            this.ResumeLayout(false);
-            this.PerformLayout();
+            AutoScaleDimensions = new SizeF(96F, 96F);
+            AutoScaleMode = AutoScaleMode.Dpi;
+            BackColor = Color.Black;
+            Controls.Add(radDll);
+            Controls.Add(btnCsc);
+            Controls.Add(chkCmd);
+            Controls.Add(radWinexe);
+            Controls.Add(radExe);
+            Controls.Add(txtOutput);
+            Controls.Add(txtArgs);
+            Controls.Add(label2);
+            Margin = new Padding(4, 4, 4, 4);
+            Name = "ComplieUI";
+            Size = new Size(574, 272);
+            contextMenuStripEx1.ResumeLayout(false);
+            ResumeLayout(false);
+            PerformLayout();
 
         }
 

--
Gitblit v1.9.3