Hallo Leute,
ich schreibe gerade eine Anwendung für den Pocket PC auf Basis des .Net COmpakt Frameworks. Ich habe ein stück Code der mir ein NotSupportedException auslöst.
<p><B>
private void DrawBackground()
{
Graphics gx = panel.CreateGraphics();
gx.DrawImage(bitmap, 0, 0);
gx.Dispose();
}
<P></b>
und zwar wenn ich das Graphics Object eines Panels mir holen möchte. Ich möchte auf dem Panel zeichnen. Der Code funktioniert auf einer
Window Forms Applikation.
hat jemand ein Tipp ?
gruß
orhan
ich schreibe gerade eine Anwendung für den Pocket PC auf Basis des .Net COmpakt Frameworks. Ich habe ein stück Code der mir ein NotSupportedException auslöst.
<p><B>
private void DrawBackground()
{
Graphics gx = panel.CreateGraphics();
gx.DrawImage(bitmap, 0, 0);
gx.Dispose();
}
<P></b>
und zwar wenn ich das Graphics Object eines Panels mir holen möchte. Ich möchte auf dem Panel zeichnen. Der Code funktioniert auf einer
Window Forms Applikation.
hat jemand ein Tipp ?
gruß
orhan
Comment