Vb.net: transition to the resources of the reference project

I have a project that contains all user controls and images; we will call it projectBase. Now I created a windows forms project (project1) that references projectBase. I need to access the projectBase embedded resource (images) in project1. Any idea how I can do this?

+3
source share
2 answers

One option is to display images as readonly properties of your custom control classes.

+1
source

"" , "". :

Dim someResource = MyReferencedProject.My.Resources.SomeResource
+5

Source: https://habr.com/ru/post/1721924/


All Articles