Example #1
0
 public static void SetApplicationIcon(Form form)
 {
     form.Icon = Icon.FromHandle(Win32Utilities.LoadIconFromResourceHandle(Win32Utilities.GetWindowsModuleHandle("windowsui"), (IntPtr)0xf7));
 }
Example #2
0
 public static Icon GetNXIcon()
 {
     return(Icon.FromHandle(Win32Utilities.LoadIconFromResourceHandle(Win32Utilities.GetWindowsModuleHandle("windowsui"), (IntPtr)0xf7)));
 }