Commit 47468e63 kwwwvagaa

表格显示修改

1 个父辈 f9c5f8a6
......@@ -417,7 +417,7 @@ namespace HZH_Controls.Controls
Control rowControl = (row as Control);
row.RowHeight = m_rowHeight;
rowControl.Dock = DockStyle.Top;
//rowControl.Dock = DockStyle.Top;
row.CellClick += (a, b) => { CellClick(rowControl, b); };
row.CheckBoxChangeEvent += (a, b) => { CheckBoxChangeEvent(rowControl, b); };
row.RowCustomEvent += (a, b) => { if (RowCustomEvent != null) { RowCustomEvent(a, b); } };
......@@ -426,7 +426,7 @@ namespace HZH_Controls.Controls
row.RowIndex = ChildrenRows.IndexOf(row);
this.Parent.Controls.Add(rowControl);
var index = this.Parent.Controls.GetChildIndex(this);
this.Parent.Controls.SetChildIndex(row, index);
this.Parent.Controls.SetChildIndex(row, index+1);
}
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!