From 78994d1c8243018f6e37717e3ea0a0297d491bd8 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期五, 10 七月 2020 13:10:24 +0800 Subject: [PATCH] 标签显示和列表联动修改 --- src/Bro.M071.Process/UI/M071_MainForm.Designer.cs | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs b/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs index a7e2e8d..abd460f 100644 --- a/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs +++ b/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs @@ -44,6 +44,7 @@ this.btnCancelEdit = new System.Windows.Forms.Button(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.lvMeasures = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.propGridKeyIndicator = new System.Windows.Forms.PropertyGrid(); this.btnStartMeasure = new System.Windows.Forms.Button(); this.btnReset = new System.Windows.Forms.Button(); @@ -228,6 +229,9 @@ // // lvMeasures // + this.lvMeasures.BackColor = System.Drawing.SystemColors.Control; + this.lvMeasures.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1}); this.lvMeasures.Dock = System.Windows.Forms.DockStyle.Fill; this.lvMeasures.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134))); this.lvMeasures.FullRowSelect = true; @@ -241,6 +245,11 @@ this.lvMeasures.View = System.Windows.Forms.View.List; this.lvMeasures.SelectedIndexChanged += new System.EventHandler(this.lvMeasures_SelectedIndexChanged); this.lvMeasures.DoubleClick += new System.EventHandler(this.lvMeasures_DoubleClick); + // + // columnHeader1 + // + this.columnHeader1.Text = "妫�娴嬫爣绛�"; + this.columnHeader1.Width = 181; // // propGridKeyIndicator // @@ -333,5 +342,6 @@ private System.Windows.Forms.Label lblCT; private System.Windows.Forms.Button btnStartMeasure; private System.Windows.Forms.Button btnReset; + private System.Windows.Forms.ColumnHeader columnHeader1; } } \ No newline at end of file -- Gitblit v1.8.0