|
-
October 9th, 2004, 07:54 PM
#1
Custom code generation
I am creating my own component, which is like TabControl.
I created my own collecation class (PageCollection) and added the property of this type to component class.
I also added additional properties, ActivePage and ActivePageIndex.
Everything goes OK, but the order of statements of code inserted by designer is not what I really need.
Code is generated in the following order:
ActivePage, ActivePageIndex, ..., Pages
But actually it must be as follows:
Pages, ActivePage, ActivePageIndex
The properties in InitializeComponent function appears in alphabetical order, how to override that order???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|