From a97a624c1fb269a059f97629076433c46b4e8b4c Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 13 8月 2025 14:42:08 +0800 Subject: [PATCH] //如果是连续打印,则不调用打印服务,解决重复打印的问题 【Editby shaocx,2025-08-13】 --- SDA/iWareSda/SdaMainForm.Designer.cs | 211 +++------------------------------------------------- 1 files changed, 14 insertions(+), 197 deletions(-) diff --git a/SDA/iWareSda/SdaMainForm.Designer.cs b/SDA/iWareSda/SdaMainForm.Designer.cs index d4298a1..5719bfd 100644 --- a/SDA/iWareSda/SdaMainForm.Designer.cs +++ b/SDA/iWareSda/SdaMainForm.Designer.cs @@ -34,36 +34,19 @@ this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage_Main = new System.Windows.Forms.TabPage(); this.panel2 = new System.Windows.Forms.Panel(); - this.button1 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.btn_Hide = new System.Windows.Forms.Button(); - this.btn_Show = new System.Windows.Forms.Button(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.rtbError = new System.Windows.Forms.RichTextBox(); this.lbl_Main2 = new System.Windows.Forms.Label(); this.lbl_Main1 = new System.Windows.Forms.Label(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); - this.tabPage_Srm1 = new System.Windows.Forms.TabPage(); - this.tb_Srm1 = new System.Windows.Forms.TextBox(); - this.tabPage_Srm2 = new System.Windows.Forms.TabPage(); - this.tb_Srm2 = new System.Windows.Forms.TextBox(); - this.tabPage_Srm3 = new System.Windows.Forms.TabPage(); - this.tb_Srm3 = new System.Windows.Forms.TextBox(); - this.tabPage_Srm4 = new System.Windows.Forms.TabPage(); - this.tb_Srm4 = new System.Windows.Forms.TextBox(); this.tabPage_RGV = new System.Windows.Forms.TabPage(); - this.tb_Rgv = new System.Windows.Forms.TextBox(); + this.tb_Station = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage_Main.SuspendLayout(); - this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); - this.tabPage_Srm1.SuspendLayout(); - this.tabPage_Srm2.SuspendLayout(); - this.tabPage_Srm3.SuspendLayout(); - this.tabPage_Srm4.SuspendLayout(); this.tabPage_RGV.SuspendLayout(); this.SuspendLayout(); // @@ -82,10 +65,6 @@ // tabControl1 // this.tabControl1.Controls.Add(this.tabPage_Main); - this.tabControl1.Controls.Add(this.tabPage_Srm1); - this.tabControl1.Controls.Add(this.tabPage_Srm2); - this.tabControl1.Controls.Add(this.tabPage_Srm3); - this.tabControl1.Controls.Add(this.tabPage_Srm4); this.tabControl1.Controls.Add(this.tabPage_RGV); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); @@ -114,64 +93,12 @@ // // panel2 // - this.panel2.Controls.Add(this.button1); - this.panel2.Controls.Add(this.button2); - this.panel2.Controls.Add(this.btn_Hide); - this.panel2.Controls.Add(this.btn_Show); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(3, 237); this.panel2.Margin = new System.Windows.Forms.Padding(4); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1076, 58); this.panel2.TabIndex = 21; - // - // button1 - // - this.button1.BackColor = System.Drawing.Color.Silver; - this.button1.Location = new System.Drawing.Point(607, 8); - this.button1.Margin = new System.Windows.Forms.Padding(4); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(164, 42); - this.button1.TabIndex = 3; - this.button1.Text = "闅愯棌瀹炴椂RGV鐨凱LC鍊�"; - this.button1.UseVisualStyleBackColor = false; - this.button1.Click += new System.EventHandler(this.button1_Click_1); - // - // button2 - // - this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.button2.Location = new System.Drawing.Point(417, 8); - this.button2.Margin = new System.Windows.Forms.Padding(4); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(164, 42); - this.button2.TabIndex = 2; - this.button2.Text = "鏄剧ず瀹炴椂RGV鐨凱LC鍊�"; - this.button2.UseVisualStyleBackColor = false; - this.button2.Click += new System.EventHandler(this.button2_Click_1); - // - // btn_Hide - // - this.btn_Hide.BackColor = System.Drawing.Color.Silver; - this.btn_Hide.Location = new System.Drawing.Point(231, 8); - this.btn_Hide.Margin = new System.Windows.Forms.Padding(4); - this.btn_Hide.Name = "btn_Hide"; - this.btn_Hide.Size = new System.Drawing.Size(164, 42); - this.btn_Hide.TabIndex = 1; - this.btn_Hide.Text = "闅愯棌瀹炴椂鍫嗗灈鏈篜LC鍊�"; - this.btn_Hide.UseVisualStyleBackColor = false; - this.btn_Hide.Click += new System.EventHandler(this.btn_Hide_Click); - // - // btn_Show - // - this.btn_Show.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.btn_Show.Location = new System.Drawing.Point(41, 8); - this.btn_Show.Margin = new System.Windows.Forms.Padding(4); - this.btn_Show.Name = "btn_Show"; - this.btn_Show.Size = new System.Drawing.Size(164, 42); - this.btn_Show.TabIndex = 0; - this.btn_Show.Text = "鏄剧ず瀹炴椂鍫嗗灈鏈篜LC鍊�"; - this.btn_Show.UseVisualStyleBackColor = false; - this.btn_Show.Click += new System.EventHandler(this.btn_Show_Click); // // progressBar1 // @@ -235,117 +162,28 @@ this.pictureBox5.TabIndex = 15; this.pictureBox5.TabStop = false; // - // tabPage_Srm1 - // - this.tabPage_Srm1.Controls.Add(this.tb_Srm1); - this.tabPage_Srm1.Location = new System.Drawing.Point(4, 25); - this.tabPage_Srm1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tabPage_Srm1.Name = "tabPage_Srm1"; - this.tabPage_Srm1.Size = new System.Drawing.Size(1082, 728); - this.tabPage_Srm1.TabIndex = 2; - this.tabPage_Srm1.Text = "鍫嗗灈鏈�1"; - this.tabPage_Srm1.UseVisualStyleBackColor = true; - // - // tb_Srm1 - // - this.tb_Srm1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tb_Srm1.Font = new System.Drawing.Font("瀹嬩綋", 9.75F, System.Drawing.FontStyle.Bold); - this.tb_Srm1.Location = new System.Drawing.Point(0, 0); - this.tb_Srm1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tb_Srm1.Multiline = true; - this.tb_Srm1.Name = "tb_Srm1"; - this.tb_Srm1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tb_Srm1.Size = new System.Drawing.Size(1082, 728); - this.tb_Srm1.TabIndex = 1; - // - // tabPage_Srm2 - // - this.tabPage_Srm2.Controls.Add(this.tb_Srm2); - this.tabPage_Srm2.Location = new System.Drawing.Point(4, 25); - this.tabPage_Srm2.Name = "tabPage_Srm2"; - this.tabPage_Srm2.Size = new System.Drawing.Size(1082, 728); - this.tabPage_Srm2.TabIndex = 4; - this.tabPage_Srm2.Text = "鍫嗗灈鏈�2"; - this.tabPage_Srm2.UseVisualStyleBackColor = true; - // - // tb_Srm2 - // - this.tb_Srm2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tb_Srm2.Font = new System.Drawing.Font("瀹嬩綋", 9.75F, System.Drawing.FontStyle.Bold); - this.tb_Srm2.Location = new System.Drawing.Point(0, 0); - this.tb_Srm2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tb_Srm2.Multiline = true; - this.tb_Srm2.Name = "tb_Srm2"; - this.tb_Srm2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tb_Srm2.Size = new System.Drawing.Size(1082, 728); - this.tb_Srm2.TabIndex = 2; - // - // tabPage_Srm3 - // - this.tabPage_Srm3.Controls.Add(this.tb_Srm3); - this.tabPage_Srm3.Location = new System.Drawing.Point(4, 25); - this.tabPage_Srm3.Name = "tabPage_Srm3"; - this.tabPage_Srm3.Size = new System.Drawing.Size(1082, 728); - this.tabPage_Srm3.TabIndex = 5; - this.tabPage_Srm3.Text = "鍫嗗灈鏈�3"; - this.tabPage_Srm3.UseVisualStyleBackColor = true; - // - // tb_Srm3 - // - this.tb_Srm3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tb_Srm3.Font = new System.Drawing.Font("瀹嬩綋", 9.75F, System.Drawing.FontStyle.Bold); - this.tb_Srm3.Location = new System.Drawing.Point(0, 0); - this.tb_Srm3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tb_Srm3.Multiline = true; - this.tb_Srm3.Name = "tb_Srm3"; - this.tb_Srm3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tb_Srm3.Size = new System.Drawing.Size(1082, 728); - this.tb_Srm3.TabIndex = 2; - // - // tabPage_Srm4 - // - this.tabPage_Srm4.Controls.Add(this.tb_Srm4); - this.tabPage_Srm4.Location = new System.Drawing.Point(4, 25); - this.tabPage_Srm4.Name = "tabPage_Srm4"; - this.tabPage_Srm4.Size = new System.Drawing.Size(1082, 728); - this.tabPage_Srm4.TabIndex = 6; - this.tabPage_Srm4.Text = "鍫嗗灈鏈�4"; - this.tabPage_Srm4.UseVisualStyleBackColor = true; - // - // tb_Srm4 - // - this.tb_Srm4.Dock = System.Windows.Forms.DockStyle.Fill; - this.tb_Srm4.Font = new System.Drawing.Font("瀹嬩綋", 9.75F, System.Drawing.FontStyle.Bold); - this.tb_Srm4.Location = new System.Drawing.Point(0, 0); - this.tb_Srm4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tb_Srm4.Multiline = true; - this.tb_Srm4.Name = "tb_Srm4"; - this.tb_Srm4.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tb_Srm4.Size = new System.Drawing.Size(1082, 728); - this.tb_Srm4.TabIndex = 2; - // // tabPage_RGV // - this.tabPage_RGV.Controls.Add(this.tb_Rgv); + this.tabPage_RGV.Controls.Add(this.tb_Station); this.tabPage_RGV.Location = new System.Drawing.Point(4, 25); this.tabPage_RGV.Margin = new System.Windows.Forms.Padding(4); this.tabPage_RGV.Name = "tabPage_RGV"; this.tabPage_RGV.Size = new System.Drawing.Size(1082, 728); this.tabPage_RGV.TabIndex = 3; - this.tabPage_RGV.Text = "RGV"; + this.tabPage_RGV.Text = "绔欑偣"; this.tabPage_RGV.UseVisualStyleBackColor = true; // - // tb_Rgv + // tb_Station // - this.tb_Rgv.Dock = System.Windows.Forms.DockStyle.Fill; - this.tb_Rgv.Font = new System.Drawing.Font("瀹嬩綋", 9.75F, System.Drawing.FontStyle.Bold); - this.tb_Rgv.Location = new System.Drawing.Point(0, 0); - this.tb_Rgv.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tb_Rgv.Multiline = true; - this.tb_Rgv.Name = "tb_Rgv"; - this.tb_Rgv.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tb_Rgv.Size = new System.Drawing.Size(1082, 728); - this.tb_Rgv.TabIndex = 2; + this.tb_Station.Dock = System.Windows.Forms.DockStyle.Fill; + this.tb_Station.Font = new System.Drawing.Font("瀹嬩綋", 9.75F, System.Drawing.FontStyle.Bold); + this.tb_Station.Location = new System.Drawing.Point(0, 0); + this.tb_Station.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tb_Station.Multiline = true; + this.tb_Station.Name = "tb_Station"; + this.tb_Station.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.tb_Station.Size = new System.Drawing.Size(1082, 728); + this.tb_Station.TabIndex = 2; // // label3 // @@ -383,16 +221,7 @@ this.panel1.PerformLayout(); this.tabControl1.ResumeLayout(false); this.tabPage_Main.ResumeLayout(false); - this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); - this.tabPage_Srm1.ResumeLayout(false); - this.tabPage_Srm1.PerformLayout(); - this.tabPage_Srm2.ResumeLayout(false); - this.tabPage_Srm2.PerformLayout(); - this.tabPage_Srm3.ResumeLayout(false); - this.tabPage_Srm3.PerformLayout(); - this.tabPage_Srm4.ResumeLayout(false); - this.tabPage_Srm4.PerformLayout(); this.tabPage_RGV.ResumeLayout(false); this.tabPage_RGV.PerformLayout(); this.ResumeLayout(false); @@ -411,20 +240,8 @@ private System.Windows.Forms.Label lbl_Main2; private System.Windows.Forms.Label lbl_Main1; private System.Windows.Forms.PictureBox pictureBox5; - private System.Windows.Forms.TabPage tabPage_Srm1; - private System.Windows.Forms.TextBox tb_Srm1; private System.Windows.Forms.TabPage tabPage_RGV; private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Button btn_Show; - private System.Windows.Forms.Button btn_Hide; - private System.Windows.Forms.TextBox tb_Rgv; - private System.Windows.Forms.TabPage tabPage_Srm2; - private System.Windows.Forms.TextBox tb_Srm2; - private System.Windows.Forms.TabPage tabPage_Srm3; - private System.Windows.Forms.TextBox tb_Srm3; - private System.Windows.Forms.TabPage tabPage_Srm4; - private System.Windows.Forms.TextBox tb_Srm4; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Button button2; + private System.Windows.Forms.TextBox tb_Station; } } \ No newline at end of file -- Gitblit v1.9.3