c# - Initialization of tabs in tabControl -
I am using tab control with multiple tabs (& gt; 10), and each tab has UserContol but Tabs start each app when I start my app. This is slowing down my program. I want to run my user control only when I click on it How do I do this?
You should improve your user control that they do not display content as long as you get active / visible Give them a way to Alternatively, you can not add user control to the tab page content in the designer. Instead of activating tabs, create your UserTrint instead But this will make them invisible in the designer. activate , when the tab has a tabront call when the selected tab is created.
Comments
Post a Comment