Get a MyNamespace resource from MyNamespace.MySubNameSpace?

  • Thread starter Thread starter Ed Sutton
  • Start date Start date
E

Ed Sutton

// This works fine when using MyNameSpace but not
// from MyNameSpace.MySubNameSpace
myImageList = new ImageList();
myImageList .Images.Add((Image)new
Bitmap(GetType(),Resources.Images.FolderClosed.ico"));

How can I get these resources from a class that is using a namespace of
MyNameSpace.MySubNameSpace?

Thanks in advance for any tips or direction,

-Ed
 
I re-read my post and thought it was not as clear as it could be:

My embedded resources "path" to where my bitmaps are stored is
MyNameSpace.Resources.Images

When I am in the MyNameSpace.MySubNameSpace how can I get these resources?

Thanks in advance for any tips or direction,

-Ed
 

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

Similar Threads


Back
Top