DotNetWork Founder
If you need to extract an image from ImageList control use this code:
Bitmap = DirectCast(MyImageList.Images(0), Bitmap)
or if you need an icon:
Me.Icon = Drawing.Icon.FromHandle(DirectCast(MyImageList.Images(0), Bitmap).GetHicon)
Alberto
Print | posted on mercoledì 30 marzo 2011 10.08