Interview Questions

Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?

.NET Interview Questions and Answers


(Continued from previous question...)

64. Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?

By using System.Drawing.SystemIcons class, for example System.Drawing.SystemIcons.Warning produces an Icon with a warning sign in it.

(Continued on next question...)

Other Interview Questions