code_junkie

How to create and use resources in .NET

Nov 10th, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. paused = !paused;
  2. if (paused)
  3. notifyIcon.Icon = Properties.Resources.RedIcon;
  4. else
  5. notifyIcon.Icon = Properties.Resources.GreenIcon;
Add Comment
Please, Sign In to add comment