Basic Dot Net Question:
Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?
Answer:
By using System.Drawing.SystemIcons class, for example System.Drawing.SystemIcons.Warning produces an Icon with a warning sign in it.
Previous Question | Next Question |
What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it? | When displaying fonts, what’s the difference between pixels, points and ems? |