Adding a row to TableLayoutPanel in C # Windows Form

I am currently developing an application in C # using Windows Forms.

I am using a TableLayoutPanel with two columns. How to add a new row to a table. I tried to do a google search, but the only problem is that I only find adding a new line style that doesn't seem right to me.

thanks for the help

+3
source share
1 answer

Wrong. If you want to add a string, you need to use RowStyles.Add().

One easy way to check this out for yourself, of course, is to look at the code of Form.Designer.cs.

+8
source

Source: https://habr.com/ru/post/1783472/


All Articles