Hi all,
I have two issues. First: I created two custom controls one is a custom picture box which draws image with imageattributes (GetTransparentColor returns image.GetPixel(0, 0)), and a second is custom form which has the onPaintBackground overriden:
Protected Overrides Sub OnPaintBackground(ByVal e As System.Windows.Forms.PaintEventArgs)
'MyBase.OnPaintBackground(e)
End Sub
the problem is when I put a custom picturebox which should show the background of the custom form which should be transparent, but the picturebox shows the default backcolor of the customform (grey) which is not drawn otherwise!
anyone has any idea hot to overcome that??
the second issue I am having...
is it normal that picturebox click event (which only increments a value) is much slower than ordinary button click event?
Thanks for help
Best regards
Grega
PS: I forgot to mention I am doing this in VB .NET CF for windows ce 5.0
Enter your message below
Sign in or Join us (it's free).