Basic Dot Net Question:
Download Job Interview Questions and Answers PDF
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.
Download Dot Net Interview Questions And Answers
PDF
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? |