Quantcast
Viewing all articles
Browse latest Browse all 12583

Creating a NotifyIcon icon and changing it upon different situations

Hello,

I have a notifyicon for the task bar that also shows the battery wifi and network status. i want to use an image for one situation and use another image for a different situation.

For example:

When "enabled" is true ----> use a green icon

when "enabled" is false ----> use a red icon.

I have found something that i already closed. It was adding your .ico images as a resource. But i have no idea how to use those resources. As in the tut it said to use Properties.Resources.(Name of icon image) but that just gave me errors..

I am really lost. Thanks guys!


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>