Controls Get "Lost" in C#.NET Designer!
I've noticed that when working with inherited forms in VS.NET 2003, inherited controls get lost if the child form is open and you modify the parent form. Often the same thing happen if the designer of the child form is open while running the application in debug mode. This happens exclusively with controls inherited from the parent form.
Similiarly, if you modify a custom control, all forms that have an instance of your custom control and are open in design mode lose the custom control.
Has anything similiar happened with any body else? If so, what steps did you take to prevent this problem except:
- Saying no to using Visual Inheritance ;)
- Closing designer of the child form while you run the project in debug mode
- Closing designer of the child form while you modify its parent