From 0747d6d46796671408d6325f664be3404f57aaa6 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 18 七月 2024 14:15:11 +0800 Subject: [PATCH] 添加工具类 --- SimuTools/FrmMain.Designer.cs | 19 +++---------------- 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a/SimuTools/FrmMain.Designer.cs b/SimuTools/FrmMain.Designer.cs index 953b7bd..edb2709 100644 --- a/SimuTools/FrmMain.Designer.cs +++ b/SimuTools/FrmMain.Designer.cs @@ -37,7 +37,6 @@ this.txtFlowPath = new System.Windows.Forms.TextBox(); this.lblFlow = new System.Windows.Forms.Label(); this.btnFlowPath = new System.Windows.Forms.Button(); - this.tabLogs = new System.Windows.Forms.ListBox(); this.btnRun = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -134,22 +133,11 @@ this.btnFlowPath.UseVisualStyleBackColor = true; this.btnFlowPath.Click += new System.EventHandler(this.btnFlowPath_Click); // - // tabLogs - // - this.tabLogs.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.tabLogs.FormattingEnabled = true; - this.tabLogs.ItemHeight = 16; - this.tabLogs.Location = new System.Drawing.Point(27, 176); - this.tabLogs.Name = "tabLogs"; - this.tabLogs.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; - this.tabLogs.Size = new System.Drawing.Size(670, 340); - this.tabLogs.TabIndex = 56; - // // btnRun // this.btnRun.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnRun.ForeColor = System.Drawing.SystemColors.Highlight; - this.btnRun.Location = new System.Drawing.Point(27, 540); + this.btnRun.Location = new System.Drawing.Point(27, 172); this.btnRun.Name = "btnRun"; this.btnRun.Size = new System.Drawing.Size(670, 26); this.btnRun.TabIndex = 57; @@ -161,9 +149,8 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(735, 594); + this.ClientSize = new System.Drawing.Size(735, 222); this.Controls.Add(this.btnRun); - this.Controls.Add(this.tabLogs); this.Controls.Add(this.txtFlowPath); this.Controls.Add(this.lblFlow); this.Controls.Add(this.btnFlowPath); @@ -176,6 +163,7 @@ this.Name = "FrmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "鍐呮稘浠跨湡宸ュ叿"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing); this.Load += new System.EventHandler(this.FrmMain_Load); this.ResumeLayout(false); this.PerformLayout(); @@ -193,7 +181,6 @@ private System.Windows.Forms.TextBox txtFlowPath; private System.Windows.Forms.Label lblFlow; private System.Windows.Forms.Button btnFlowPath; - private System.Windows.Forms.ListBox tabLogs; private System.Windows.Forms.Button btnRun; } } -- Gitblit v1.9.3