Commit f9c5f8a6 kwwwvagaa

修改行高

1 个父辈 31450a86
...@@ -129,6 +129,7 @@ namespace HZH_Controls.Controls ...@@ -129,6 +129,7 @@ namespace HZH_Controls.Controls
{ {
m_headHeight = value; m_headHeight = value;
panHead.Height = value; panHead.Height = value;
this.Padding = new Padding(0, value, 0, 0);
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<package > <package >
<metadata> <metadata>
<id>$id$</id> <id>$id$</id>
<version>1.0.12</version> <version>1.0.13</version>
<title>HZHControls</title> <title>HZHControls</title>
<authors>HuangZhengHui</authors> <authors>HuangZhengHui</authors>
<owners>HuangZhengHui</owners> <owners>HuangZhengHui</owners>
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
// //
// ucDataGridView1 // ucDataGridView1
// //
this.ucDataGridView1.AutoScroll = true;
this.ucDataGridView1.BackColor = System.Drawing.Color.White; this.ucDataGridView1.BackColor = System.Drawing.Color.White;
this.ucDataGridView1.Columns = null; this.ucDataGridView1.Columns = null;
this.ucDataGridView1.DataSource = null; this.ucDataGridView1.DataSource = null;
...@@ -46,9 +45,10 @@ ...@@ -46,9 +45,10 @@
this.ucDataGridView1.IsShowHead = true; this.ucDataGridView1.IsShowHead = true;
this.ucDataGridView1.Location = new System.Drawing.Point(0, 0); this.ucDataGridView1.Location = new System.Drawing.Point(0, 0);
this.ucDataGridView1.Name = "ucDataGridView1"; this.ucDataGridView1.Name = "ucDataGridView1";
this.ucDataGridView1.Padding = new System.Windows.Forms.Padding(0, 40, 0, 0);
this.ucDataGridView1.RowHeight = 41; this.ucDataGridView1.RowHeight = 41;
this.ucDataGridView1.RowType = typeof(HZH_Controls.Controls.UCDataGridViewRow); this.ucDataGridView1.RowType = typeof(HZH_Controls.Controls.UCDataGridViewRow);
this.ucDataGridView1.Size = new System.Drawing.Size(831, 609); this.ucDataGridView1.Size = new System.Drawing.Size(1090, 643);
this.ucDataGridView1.TabIndex = 5; this.ucDataGridView1.TabIndex = 5;
// //
// UCTestGridTableCustom // UCTestGridTableCustom
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.ucDataGridView1); this.Controls.Add(this.ucDataGridView1);
this.Name = "UCTestGridTableCustom"; this.Name = "UCTestGridTableCustom";
this.Size = new System.Drawing.Size(831, 609); this.Size = new System.Drawing.Size(1090, 643);
this.Load += new System.EventHandler(this.UCTestGridTableCustom_Load); this.Load += new System.EventHandler(this.UCTestGridTableCustom_Load);
this.ResumeLayout(false); this.ResumeLayout(false);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!