User control disappears second time parent form is in designer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm sure i've clobbered something, even though I have recreated the control from scratch
I add a UserControl to a for
Test the form, it works fin
stop the debugger
open the form designer
the user control(s) disapear and I get an error(s) saying
'There is already a component name 'ControlName1'. Components must have unique name, and names...

In the code I can only find one instance of the control. It removes the Container.Controls.Add(...) line from the auto-generated region

Thanks
troy
 
Seems associated with the Tab Control. It works fine if its not on a TabPage. It runs fine also, just cant work with it in the designer. :-/
 
Back
Top