M
Mike
I've got a base form in my library DLL, and an inherited form in the
client exe. This works wonderfully, until I go to make a change to the
inherited form. For example, if I resize the child form it'll
re-create object declarations in InitializeComponent(). So, if I have:
Protected myObject as SomeComponent in the parent form, it'll
automatically re-create the same declaration in the child form.
Sometimes it'll just come up as Friend myObject as SomeComponent,
others it'll be set to private and so on. And it'll recreate the code
for initializing, so it'll do myObject = new SomeComponent() twice.
This doesn't always happen, but it happens often enough that it's
becoming a problem.
I've seen this happen with various controls, but it really messes up
when I use ComponentOne controls (e.g. the toolbar control).
Has anyone else dealt with this? Have you found a workaround? This
seems like a pretty bad bug to leave in the IDE.
client exe. This works wonderfully, until I go to make a change to the
inherited form. For example, if I resize the child form it'll
re-create object declarations in InitializeComponent(). So, if I have:
Protected myObject as SomeComponent in the parent form, it'll
automatically re-create the same declaration in the child form.
Sometimes it'll just come up as Friend myObject as SomeComponent,
others it'll be set to private and so on. And it'll recreate the code
for initializing, so it'll do myObject = new SomeComponent() twice.
This doesn't always happen, but it happens often enough that it's
becoming a problem.
I've seen this happen with various controls, but it really messes up
when I use ComponentOne controls (e.g. the toolbar control).
Has anyone else dealt with this? Have you found a workaround? This
seems like a pretty bad bug to leave in the IDE.