[Mono-list] Backdrop behaving different in Mono
Glen Farrell
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?
Thanks,
Glen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060517/51217f00/attachment.html
More information about the Mono-list
mailing list