c# - How to get resource name for an image which is linked in my project? -


i don't know missing here. i've linked image file in wpf application , want retrieve image in winformhost. trying take resourceset resourcemanager. when try traverse dictionaryentry in resourceset, not return dictionary entry?

resourcemanager resman = application.properties.resources.resourcemanager; resourceset rset = resman.getresourceset(thread.currentthread.currentuiculture, true, true); 

here's how trying dictionary entry. not print dictionary entry.

foreach (dictionaryentry entry in rset) {     string resourcekey = entry.key.tostring();     logger.print(resoucekey); } 


Comments