Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How can I add Controls to a TableLayoutPanel?

Controls can be added to the TableLayoutPanel in a free-styled manner via the Add method on the Controls collection. The newly added control will be added in the next available cell, but generally column and row positions are assigned to the child controls:

tableLayoutPanel.Controls.Add(button1, 2,3) 

will add at column = 2, row = 3. 



Page view counter