有没有办法改变TableLayoutPanel中按钮的背景色?我在下面提供一个代码块。请纠正我。EventArgs e) Button btnClicked = sender as Button;
// wanted to convert the controls of tablelayoutpanelif (tableLayou
编辑:为tableLayoutPanel添加代码// tableLayoutPanel_dataLogsthis.tableLayoutPanel_dataLogs.Anchor =;this.tableLayoutPanel_dataLogs.ColumnStyles.Add(new= new System.Drawing.Si
我想用图形用户界面的固定区域在TableLayoutPanel中动态添加行。所以,如果记录的数量增加,那么我想要一个垂直滚动条,将帮助用户看到更多的记录。CheckBox c = new CheckBox();tableLayoutPanel1.GrowStyle = TableLayoutPanelGrowStyle.AddRows;this.t