How can I get the object from the ressourceManager case insensitively?

I need to get bitmap from ressource and I get it via RessourceManager like this:

Bitmap bmp = (Bitmap)Properties.Resources.ResourceManager.GetObject("myImage");

      

The problem is that it is case sensitive and I don't want it to be case sensitive. Is it possible to ignore case when you do getObject?

+3


source to share


1 answer


Have you tried installing IgnoreCase



+4


source







All Articles