G
Guest
Ok....
1. Take a windows form.
2. Add a TabControl
3. Add a TabPage by right-clicking the Tabcontrol and selecting "Add Tab"
The TabPage is actually added to the form, not just visually, but the code
is added to the "Windows Form Designer generated code" region.
I want to be able to do this myself with a control I created. In other words:
1. Take a windows form.
2. Add myControl
3. Add mySubControl by right-clicking myControl and selecting "Add
SubControl"
Then the new subcontrol is added to the form as well as to the "Windows Form
Designer generated code" region.
So WHO knows the secret???
1. Take a windows form.
2. Add a TabControl
3. Add a TabPage by right-clicking the Tabcontrol and selecting "Add Tab"
The TabPage is actually added to the form, not just visually, but the code
is added to the "Windows Form Designer generated code" region.
I want to be able to do this myself with a control I created. In other words:
1. Take a windows form.
2. Add myControl
3. Add mySubControl by right-clicking myControl and selecting "Add
SubControl"
Then the new subcontrol is added to the form as well as to the "Windows Form
Designer generated code" region.
So WHO knows the secret???