Creating a tab control with a dynamic number of tabs in Visual Studio C#

后端 未结 4 560
名媛妹妹
名媛妹妹 2021-01-04 21:17

How to create a tab control with a dynamic number of tabs in Visual Studio C#?

I\'ve got a database with a table customers. I need to create a form that

4条回答
  •  清酒与你
    2021-01-04 21:24

    I don't remember the specifics now. But just look at the code in the XXX.designer.cs file for a form you have that contains a tab control. There you'll see the code generated to add a new tab. Just replicate those lines, you can add a new tab whenever you want.

提交回复
热议问题