
Problem with inheritence and localizability
Hi,
I created a base form for my project and inherits it to further expand it.
Just today, I tried to add localization to the base form with setting it's
Localizable property to true, I get the following error message when I tried
to open a child form in Designer Mode,
An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:
An exception occurred while trying to create an instance of
SSM.Base.Forms.Editor. The exception was "Could not find any resources
appropriate for the specified culture (or the neutral culture) in the given
assembly. Make sure "Editor.resources" was correctly embedded or linked into
assembly "School System Management".
baseName: Editor locationInfo: SSM.Base.Forms.Editor resource file name:
Editor.resources assembly: School System Management,
Version=1.0.1102.30896, Culture=neutral, PublicKeyToken=null"
To get everything to work correctly again, I had to delete all the localize
resources and reset the Localizable property to false (of the base form)
Is there any workaround for this problem? I would want to do the
localization on the children as most of the controls are from the base.
Thanks in advance.