From 305e2990bb2161177e87ab7711f9dfb205762bcd Mon Sep 17 00:00:00 2001 From: kingno <30263@KINGNO> Date: 星期一, 09 六月 2025 15:52:42 +0800 Subject: [PATCH] 优化数据传递 --- src/Bro.M141.Process/UI/UIPrinter.Designer.cs | 36 ++++++++++++++++-------------------- 1 files changed, 16 insertions(+), 20 deletions(-) diff --git a/src/Bro.M141.Process/UI/UIPrinter.Designer.cs b/src/Bro.M141.Process/UI/UIPrinter.Designer.cs index 42ce610..aed4ac6 100644 --- a/src/Bro.M141.Process/UI/UIPrinter.Designer.cs +++ b/src/Bro.M141.Process/UI/UIPrinter.Designer.cs @@ -38,10 +38,9 @@ // // button2 // - button2.Location = new Point(283, 127); - button2.Margin = new Padding(5, 4, 5, 4); + button2.Location = new Point(180, 90); button2.Name = "button2"; - button2.Size = new Size(170, 85); + button2.Size = new Size(108, 60); button2.TabIndex = 1; button2.Text = "棰勮"; button2.UseVisualStyleBackColor = true; @@ -49,10 +48,9 @@ // // button1 // - button1.Location = new Point(50, 127); - button1.Margin = new Padding(5, 4, 5, 4); + button1.Location = new Point(32, 90); button1.Name = "button1"; - button1.Size = new Size(170, 85); + button1.Size = new Size(108, 60); button1.TabIndex = 2; button1.Text = "鎵撳嵃"; button1.UseVisualStyleBackColor = true; @@ -60,27 +58,26 @@ // // textBox1 // - textBox1.Location = new Point(178, 49); - textBox1.Margin = new Padding(5, 4, 5, 4); + textBox1.Location = new Point(125, 38); textBox1.Name = "textBox1"; - textBox1.Size = new Size(273, 30); + textBox1.Size = new Size(175, 23); textBox1.TabIndex = 3; // // label1 // label1.AutoSize = true; - label1.Location = new Point(82, 54); - label1.Margin = new Padding(5, 0, 5, 0); + label1.Location = new Point(52, 38); label1.Name = "label1"; - label1.Size = new Size(82, 24); + label1.Size = new Size(56, 17); label1.TabIndex = 4; label1.Text = "鎵撳嵃鍐呭"; // // button3 // - button3.Location = new Point(50, 308); + button3.Location = new Point(32, 218); + button3.Margin = new Padding(2, 2, 2, 2); button3.Name = "button3"; - button3.Size = new Size(127, 61); + button3.Size = new Size(81, 43); button3.TabIndex = 5; button3.Text = "鑾峰彇鐘舵��"; button3.UseVisualStyleBackColor = true; @@ -88,15 +85,14 @@ // // textBox2 // - textBox2.Location = new Point(50, 376); - textBox2.Margin = new Padding(5, 4, 5, 4); + textBox2.Location = new Point(32, 266); textBox2.Name = "textBox2"; - textBox2.Size = new Size(490, 30); + textBox2.Size = new Size(313, 23); textBox2.TabIndex = 6; // // UIPrinter // - AutoScaleDimensions = new SizeF(11F, 24F); + AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(textBox2); Controls.Add(button3); @@ -104,9 +100,9 @@ Controls.Add(textBox1); Controls.Add(button1); Controls.Add(button2); - Margin = new Padding(3, 4, 3, 4); + Margin = new Padding(2, 3, 2, 3); Name = "UIPrinter"; - Size = new Size(559, 511); + Size = new Size(356, 362); ResumeLayout(false); PerformLayout(); } -- Gitblit v1.8.0