[Mono-winforms-list] Embedding images

Rolf Bjarne Kvinge rolflists at ya.com
Mon Jul 16 05:25:24 EDT 2007



> -----Original Message-----
> From: mono-winforms-list-bounces at lists.ximian.com [mailto:mono-
> winforms-list-bounces at lists.ximian.com] On Behalf Of Jon Cosby
> Sent: domingo, 15 de julio de 2007 21:06
> To: Mono-Winforms
> Subject: [Mono-winforms-list] Embedding images
> 
> How would I embed a background image into the build in winforms?
> 

You can embed an image into the assembly using "mcs -res:image.png", then
load it using a ResourceManager in the code
(http://msdn2.microsoft.com/en-us/library/system.resources.resourcemanager.a
spx).

Rolf

> 
> Jon Cosby
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.6/900 - Release Date:
> 14/07/2007 15:36




More information about the Mono-winforms-list mailing list