G
Guest
I have an inherited form.
The base class has some panels and a splitter for resizing them
In the inherited form, I've placed some child controls in the right-panel.
This all works fine, run the app everything looks great.
Go back to form in designer, and now it won't paint the new child controls
in the inherited form! Still works at run-time!
The constructor of the inherited form is calling InitializeComponent() like
it should.
After that line in the constructor I had to add:
MyBase.RightPanel.Controls.Add(TabControl1)
The designer did not add that to InitializeComponent() so I added it
manually to the constructor after the call, like it says in the comment...
This just started happening today, it wasn't happening before so it leads
me to believe its something I did today, possibly in the base class...
any ideas?
The base class has some panels and a splitter for resizing them
In the inherited form, I've placed some child controls in the right-panel.
This all works fine, run the app everything looks great.
Go back to form in designer, and now it won't paint the new child controls
in the inherited form! Still works at run-time!
The constructor of the inherited form is calling InitializeComponent() like
it should.
After that line in the constructor I had to add:
MyBase.RightPanel.Controls.Add(TabControl1)
The designer did not add that to InitializeComponent() so I added it
manually to the constructor after the call, like it says in the comment...
This just started happening today, it wasn't happening before so it leads
me to believe its something I did today, possibly in the base class...
any ideas?