I have solved the problem myself. The mistake was the name of the
resource that I've specified in the ResourceManager constructor.
It's not enough to say "MyResources". The name have to be a full
path including the namespace. Therefore the constructor have to be
look as followed:

ResourceManager ResMgr = new System.Resources.ResourceManager
("MyApplication.UI.MyResources",
  System.Reflection.Assembly.GetAssembly(this.GetType()));

Regards,
Jan Dropczynski

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to