Howdy,
I haven't struck this before....
I am visually inheriting several forms from another.
All works well but then i thought i'd create an enum that is used only by
this form - not even its derived forms (inheritance aside).
I wasn't thinking and included the Enum definition in the same file as the
Base Form Class definition, scoped it as Friend and declaring it outside of
MyBaseForm. As opposed to a private/nested enum within MyBaseForm.
Subsequently all my child forms spat exceptions at me about not having the
base forms' .resources file included in the build, etc. This happened at
both and design and runtimes.
Now the fix was easy. Im not concerned about that.
But why did my oversight cause an exception to be thrown. Im glad it did,
but i dont see why it should as derived forms are inheriting from the
BaseForm "class", not "file".
Secondly why did it spit such a useless exception message at me. It seems
totally unrelated.
TIA
Richard