From bbac60058524198c13c4a22943719f853ef8e2bc Mon Sep 17 00:00:00 2001
From: xcd <834800634@qq.com>
Date: 星期三, 15 七月 2020 19:34:15 +0800
Subject: [PATCH] Excel输出4个sheet,横向排布 解决启动延迟问题
---
src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.Designer.cs | 38 +++++++++++++++-----------------------
1 files changed, 15 insertions(+), 23 deletions(-)
diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.Designer.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.Designer.cs
index d0f94b7..2317ed1 100644
--- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.Designer.cs
+++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.Designer.cs
@@ -29,7 +29,6 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.groupBoxIOOut = new System.Windows.Forms.GroupBox();
this.ioOut3 = new Bro.UI.Model.Winform.IOIndicatorCtrl();
this.ioOut2 = new Bro.UI.Model.Winform.IOIndicatorCtrl();
@@ -65,25 +64,11 @@
this.ioIn4 = new Bro.UI.Model.Winform.IOIndicatorCtrl();
this.ioIn0 = new Bro.UI.Model.Winform.IOIndicatorCtrl();
this.timerIOStatus = new System.Windows.Forms.Timer(this.components);
- this.tableLayoutPanel1.SuspendLayout();
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.groupBoxIOOut.SuspendLayout();
this.groupBoxIOIn.SuspendLayout();
+ this.flowLayoutPanel1.SuspendLayout();
this.SuspendLayout();
- //
- // tableLayoutPanel1
- //
- this.tableLayoutPanel1.ColumnCount = 1;
- this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.tableLayoutPanel1.Controls.Add(this.groupBoxIOOut, 0, 1);
- this.tableLayoutPanel1.Controls.Add(this.groupBoxIOIn, 0, 0);
- this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
- this.tableLayoutPanel1.Name = "tableLayoutPanel1";
- this.tableLayoutPanel1.RowCount = 2;
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.tableLayoutPanel1.Size = new System.Drawing.Size(440, 288);
- this.tableLayoutPanel1.TabIndex = 0;
//
// groupBoxIOOut
//
@@ -103,7 +88,6 @@
this.groupBoxIOOut.Controls.Add(this.ioOut5);
this.groupBoxIOOut.Controls.Add(this.ioOut4);
this.groupBoxIOOut.Controls.Add(this.ioOut0);
- this.groupBoxIOOut.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBoxIOOut.Location = new System.Drawing.Point(3, 147);
this.groupBoxIOOut.Name = "groupBoxIOOut";
this.groupBoxIOOut.Size = new System.Drawing.Size(434, 138);
@@ -273,7 +257,6 @@
this.groupBoxIOIn.Controls.Add(this.ioIn5);
this.groupBoxIOIn.Controls.Add(this.ioIn4);
this.groupBoxIOIn.Controls.Add(this.ioIn0);
- this.groupBoxIOIn.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBoxIOIn.Location = new System.Drawing.Point(3, 3);
this.groupBoxIOIn.Name = "groupBoxIOIn";
this.groupBoxIOIn.Size = new System.Drawing.Size(434, 138);
@@ -431,23 +414,31 @@
this.timerIOStatus.Interval = 200;
this.timerIOStatus.Tick += new System.EventHandler(this.RefreshIOStatus);
//
+ // flowLayoutPanel1
+ //
+ this.flowLayoutPanel1.Controls.Add(this.groupBoxIOIn);
+ this.flowLayoutPanel1.Controls.Add(this.groupBoxIOOut);
+ this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(440, 288);
+ this.flowLayoutPanel1.TabIndex = 1;
+ //
// CtrlMotionCardIOStatus
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.tableLayoutPanel1);
+ this.Controls.Add(this.flowLayoutPanel1);
this.Name = "CtrlMotionCardIOStatus";
this.Size = new System.Drawing.Size(440, 288);
- this.tableLayoutPanel1.ResumeLayout(false);
this.groupBoxIOOut.ResumeLayout(false);
this.groupBoxIOIn.ResumeLayout(false);
+ this.flowLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
-
- private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.GroupBox groupBoxIOIn;
private Model.Winform.IOIndicatorCtrl ioIn3;
private Model.Winform.IOIndicatorCtrl ioIn2;
@@ -483,5 +474,6 @@
private Model.Winform.IOIndicatorCtrl ioOut4;
private Model.Winform.IOIndicatorCtrl ioOut0;
private System.Windows.Forms.Timer timerIOStatus;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
}
}
--
Gitblit v1.8.0