tablelayoutpanel 动态调整行列宽度
时间:2014-05-07 17:43:04
收藏:0
阅读:313
1 private void SetTableLayout() 2 { 3 this.tableLayoutPanel1.ColumnStyles[0] = 4 new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 5 tableLayoutPanel1.Width/2); 6 this.tableLayoutPanel1.ColumnStyles[1] = 7 new ColumnStyle(SizeType.Percent, 8 100); 9 }
行方向的使用类似
评论(0)
