|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Deriving System.Windows.Forms.TabControl and TabPagesHi
For some reasons I needed to derive TabControl and TabPage to add some additional functionality in the background. When working in VS.net you can only add a TabPage to a TabControl by right-clicking on the TabControl and selecting "add TabPage" or by opening the TabPage Editor in the properties window of the TabControl. But then, a normal TabPage will be added to my enhanced TabControl. Is there a way to change this behaviour in the GUI Designer so that I can add an enhanced (derived) TabPage to my custom enhanced TabControl without having to change every item in the Code from TabPage to DerivedTabPage... Any help would be appreciated... Thanks Regards Stephan Sorry...
was in a hurry and picked the wrong newsgroup... Stephan Zaubzer wrote: Show quote > Hi > For some reasons I needed to derive TabControl and TabPage to add some > additional functionality in the background. > When working in VS.net you can only add a TabPage to a TabControl by > right-clicking on the TabControl and selecting "add TabPage" or by > opening the TabPage Editor in the properties window of the TabControl. > But then, a normal TabPage will be added to my enhanced TabControl. Is > there a way to change this behaviour in the GUI Designer so that I can > add an enhanced (derived) TabPage to my custom enhanced TabControl > without having to change every item in the Code from TabPage to > DerivedTabPage... > Any help would be appreciated... > Thanks > Regards > Stephan |
|||||||||||||||||||||||