Shared UI resources

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi all,

I'd like to create resources in an assembly, which other assemblies
may use to get resources from.

Whats the best way to do this? Ideally, something like

ResourceAssembly.Properties.Resources.OKIcon

Thanks
Andy
 
Create a class library and add the files you want to share with a build
type of embedded resource. Then, use the ResourceManager class to get
the resources at run-time.
 
You can use resources (.resx) files. Chk the options use MSDN help about
resource files for .NET apps.

VJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top