J
Jochen Stuempfig
hello,
i'd like to set an image as background on my pocket pc app.
ive seen an newsgroup entry which means that an easy way to
set an background image is to override the onPaint method.
i'tried to use the following code, but nothing happens. what
am i'm doing wrong?
greets jochen
bmp = new Bitmap(System.Reflection.Assembly.GetExecutingAssembly().
GetManifestResourceStream("my.GIF"));
Bitmap offscreenBitmap = new Bitmap(240, 300);
Graphics g = Graphics.FromImage(bmp);
g.Clear(this.BackColor);
g.DrawImage(bmp, 0, 0);
i'd like to set an image as background on my pocket pc app.
ive seen an newsgroup entry which means that an easy way to
set an background image is to override the onPaint method.
i'tried to use the following code, but nothing happens. what
am i'm doing wrong?
greets jochen
bmp = new Bitmap(System.Reflection.Assembly.GetExecutingAssembly().
GetManifestResourceStream("my.GIF"));
Bitmap offscreenBitmap = new Bitmap(240, 300);
Graphics g = Graphics.FromImage(bmp);
g.Clear(this.BackColor);
g.DrawImage(bmp, 0, 0);