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/CtrlMotionCardRunBase.Designer.cs | 65 ++++++++++++++++++--------------
1 files changed, 36 insertions(+), 29 deletions(-)
diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardRunBase.Designer.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardRunBase.Designer.cs
index 5dd77d9..7de86cb 100644
--- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardRunBase.Designer.cs
+++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardRunBase.Designer.cs
@@ -1,4 +1,4 @@
-锘縩amespace Bro.UI.Device.Winform.MotionCard
+锘縩amespace Bro.UI.Device.Winform
{
partial class CtrlMotionCardRunBase
{
@@ -29,49 +29,56 @@
private void InitializeComponent()
{
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.listBoxMsg = new System.Windows.Forms.ListBox();
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.buttonMotionCardOperation = new System.Windows.Forms.Button();
+ this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1.SuspendLayout();
- this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel1.Controls.Add(this.groupBox2, 0, 2);
+ this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.buttonMotionCardOperation, 0, 0);
+ this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 2);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 3;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
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.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 110F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
- this.tableLayoutPanel1.Size = new System.Drawing.Size(615, 511);
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(615, 587);
this.tableLayoutPanel1.TabIndex = 5;
//
- // groupBox2
+ // flowLayoutPanel1
//
- this.groupBox2.Controls.Add(this.listBoxMsg);
- this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox2.Location = new System.Drawing.Point(3, 403);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(609, 105);
- this.groupBox2.TabIndex = 10;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "娑堟伅妗�";
+ this.flowLayoutPanel1.AutoScroll = true;
+ this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 33);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(609, 272);
+ this.flowLayoutPanel1.TabIndex = 11;
//
- // listBoxMsg
+ // buttonMotionCardOperation
//
- this.listBoxMsg.Dock = System.Windows.Forms.DockStyle.Fill;
- this.listBoxMsg.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
- this.listBoxMsg.FormattingEnabled = true;
- this.listBoxMsg.ItemHeight = 15;
- this.listBoxMsg.Location = new System.Drawing.Point(3, 17);
- this.listBoxMsg.Name = "listBoxMsg";
- this.listBoxMsg.Size = new System.Drawing.Size(603, 85);
- this.listBoxMsg.TabIndex = 1;
+ this.buttonMotionCardOperation.Location = new System.Drawing.Point(3, 3);
+ this.buttonMotionCardOperation.Name = "buttonMotionCardOperation";
+ this.buttonMotionCardOperation.Size = new System.Drawing.Size(97, 24);
+ this.buttonMotionCardOperation.TabIndex = 12;
+ this.buttonMotionCardOperation.Text = "鏉垮崱鎿嶄綔";
+ this.buttonMotionCardOperation.UseVisualStyleBackColor = true;
+ this.buttonMotionCardOperation.Click += new System.EventHandler(this.buttonMotionCardOperation_Click);
+ //
+ // panel1
+ //
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(3, 311);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(609, 273);
+ this.panel1.TabIndex = 13;
//
// CtrlMotionCardRunBase
//
@@ -79,16 +86,16 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "CtrlMotionCardRunBase";
- this.Size = new System.Drawing.Size(615, 511);
+ this.Size = new System.Drawing.Size(615, 587);
this.tableLayoutPanel1.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.ListBox listBoxMsg;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
+ private System.Windows.Forms.Button buttonMotionCardOperation;
+ private System.Windows.Forms.Panel panel1;
}
}
--
Gitblit v1.8.0