M
Michael Poirazi
Hello
I am trying to include some images in my applications resources.
1. Create New Item (Resource File) for my Project
2. Set the name to NetRes.resx
3. Add an image , set the name to Error (it is a .png file)
4 . Put this code
ResourceManager rm = new ResourceManager("NetRes", this.GetType().Assembly);
pictureBox1.Image = (Image)rm.GetObject("Error");
5. I get an error message to check my satellite assemlies.
What am I doing wrong here? Any help ?
Regards.
Mike
I am trying to include some images in my applications resources.
1. Create New Item (Resource File) for my Project
2. Set the name to NetRes.resx
3. Add an image , set the name to Error (it is a .png file)
4 . Put this code
ResourceManager rm = new ResourceManager("NetRes", this.GetType().Assembly);
pictureBox1.Image = (Image)rm.GetObject("Error");
5. I get an error message to check my satellite assemlies.
What am I doing wrong here? Any help ?
Regards.
Mike