Group: Forum Members
Posts: 374,
Visits: 1.2K
|
Here is where I'm running to this issue.
I have a "NotifyIcon" that at runtime, I need to change the icon. But I don't want to grab the icon from disk. So, I placed an "ImageList" and put my Icons in it.
Now when I try to assign one of those images to NotifyIcon.Icon, the compiler complains that the Image from Imagelist is not an "Icon".
notifyIcon1.Icon = imageList1.Images[0];
I've looked around and can't find a way to convert the image from Imagelist to Icon.
Any pointers?
Thanks!
..ßen
|