Beispiel #1
0
 public static Image GetUser32Icon(User32Icon type, bool largeIcon)
 {
     // Use icons provided by User32.dll itself
     return GetIcon(Environment.SystemDirectory + PathUtils.DirectorySeparator + "user32.dll",
         (int)type, largeIcon);
 }
Beispiel #2
0
 public static Image GetUser32Icon(User32Icon type, bool largeIcon)
 {
     // Use icons provided by User32.dll itself
     return(GetIcon(Environment.SystemDirectory + PathUtils.DirectorySeparator + "user32.dll",
                    (int)type, largeIcon));
 }