Winforms Form Inheritance - inherited forms not updating when base form is
changed
I'm using form inheritance in my project. I design a base form, and then
create forms that inherit it and go from there.
Here's the problem. If I change the width of the base form, the inherited
forms don't get their widths updated.
Say my base form started at 820 width. I create an inherited form, it has
820 width. I update the base form to 800 width, inherited form stays 820.
Yet, if I add a button to the base form, or make a number of other
changes, those are reflected in the inherited form usually without issue.
It doesn't only apply to form width, I've run into this a few times.. but
this is the current issue I'm having. Any anchored controls go haywire
because their positions are updated from the base form, but the form
itself doesn't change.
Any ideas how to resolve (or work around) this?
No comments:
Post a Comment