I’m trying to develop a GoDiagram app using Eiffel Envision, modelling it after the C# ProtoApp sample.
It appears to me that the sample app loads the image from the default
ProtoApp.Images ResourceManager, but in my application, I get this
LoadImage: System.IO.FileNotFoundException: beany.bmp
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
As far as I can tell, the default resource manager is being correctly
set up in my application. Is there something in particular I need to do
to get the images from the resources instead of from the file?