Pronasao sam sledeci kod koji radi taj posao
Code:
Dim bit As Bitmap = New Bitmap(Me.Width, Me.Height) 'deklaracije
Dim g As Graphics = Graphics.FromImage(bit)
Dim myPen As Pen = New Pen(Color.Blue, 3)
Me.CreateGraphics.DrawLine(myPen, 0, 0, Me.Width, Me.Height) 'crta dijagonalnu liniju
Dim bit As Bitmap = New Bitmap(Me.Width, Me.Height) 'deklaracije
Dim g As Graphics = Graphics.FromImage(bit)
Dim myPen As Pen = New Pen(Color.Blue, 3)
Me.CreateGraphics.DrawLine(myPen, 0, 0, Me.Width, Me.Height) 'crta dijagonalnu liniju
I ovo radi super samo sto ne mogu da provalim kako da postavim grafiku preko ostalih elementa forme?
A ako ovo ne moze na koji nacin da iscrtam proizvoljne linije preko forme?
Pozdrav svima i unapred hvala
[Ovu poruku je menjao bobby63 dana 21.11.2006. u 14:42 GMT+1]
Hear all, trust nothing!