[Mono-list] Backdrop behaving different in Mono
glensmono at telus.net
Wed May 17 16:03:55 EDT 2006
Hi, I've created an MDI window with a toolbar on the right side. I'm trying to load a backdrop image from a file, and display it as the background for the MDI window. So I've added this code to the form constructor:
System.Drawing.Image Backdrop = System.Drawing.Image.FromFile("Images" + System.IO.Path.DirectorySeparatorChar + "Backdrop.jpg");
this.BackgroundImage = Backdrop;
Now this code works fine running it directly from Visual Studio (in Windows). However (using the VSPrj2Make add-in), when I test it with Mono (1.1.15), the backdrop image appears on the toolbar instead!
Do I need to do this differently in Mono?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list