| Forum: VB.NET |
Thema:
Re: Picturebox unter Pocket PC |
Von:
Till Groos (
25.11.2003 12:32) |
Hallo Gast,
Das CompactFramework unterstützt die Funktion PictureBox.CreateGraphics nicht. Sorry. Du könntest über eine Bitmap ein Graphicsobjekt erzeugen:
Dim bmp As New Bitmap(50, 50)
Dim pinsel As Brush
Try
gfx = Graphics.FromImage(bmp)
gfx.Clear(Color.White)
gfx.DrawEllipse(New Pen(Color.Yellow), 0, 0, bmp.Width, bmp.Height)
Me.PictureBox1.Image = bmp
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
So geht's auf jeden Fall.
Zu der Sache mit dem Array hab ich auch keine Lösung.
btw: Es gibt auch ein Forum für PocketPC
hth
mfgTill
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!