I have Win Form With Tab Control , and at run time i Create many Dynamically Tab Page with many child control
i put the code to create this Tab Page in Activated event of the form to update the Tab Page when the form will be active
but when the form be activate the tab page duplicated
i use
tabcontrol.tabpage.clear()
before create Dynamically Tab Page but it make error
now how i can prevent this duplication in every time the form be active?
thanks
i put the code to create this Tab Page in Activated event of the form to update the Tab Page when the form will be active
but when the form be activate the tab page duplicated
i use
tabcontrol.tabpage.clear()
before create Dynamically Tab Page but it make error
now how i can prevent this duplication in every time the form be active?
thanks