Need to change the Row Span Size which is currently in ''3'' to ''2'' after checking a if Loop. Is It possible , if so can you Please help me with a sample code line.
i have being trying to move the tableLayoutPanel to a location that has to check the condition and change.
Location (695,697) to (3,697) or cell (2,2) to (0,2)
tableLayoutPanelLogos.Location = new Point(3, 697); tableLayoutPanelLogos.BringToFront();
doesn''t works. any sugggestion..?
解決方案Row Span
this.tableLayoutPanel.Controls.Add(this.tablepanel, 0, 2);
(0,2) -> Row span
Adding Column in Table Panel dynamically
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F));
33F -> percentage of column size