I have a simple form with a user control docked to the top (a panel, a
picturebox, and 2 labels), a panel docked to the bottom, and a panel in the
middle that has its docking set to fill. If I inherit that form, controls
that I add to the center panel in the IDE "disappear" as soon as I build.
The controls are not actually being deleted. The designer just isn't
generating the code to add them to the panel's control collection. I tried
manually inserting the code in the designer section but compile (naturally)
erases it. However, if I manually place the .controls.add code in
form_load, it works.
What's up with this? BTW, VB.NET 2003, Framework 1.1 w/SP, XP SP2. I
haven't tried this with 2005 yet.
Thanks,
Alan