9 references to Handle
System.Drawing.Common (2)
System\Drawing\Icon.cs (2)
187HICON IHandle<HICON>.Handle => (HICON)Handle; 744using var tmpBitmap = Bitmap.FromHicon(Handle);
System.Windows.Forms (7)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
353int index = PInvoke.ImageList.ReplaceIcon(this, -1, new HandleRef<HICON>(icon, (HICON)icon.Handle));
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogIcon.cs (1)
151: this(icon.Handle)
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
26public HICON Handle => (HICON)_icon.Handle;
System\Windows\Forms\Form.cs (3)
3414PInvokeCore.SendMessage(TaskbarOwner, PInvokeCore.WM_SETICON, (WPARAM)PInvoke.ICON_BIG, (LPARAM)icon.Handle); 6471PInvokeCore.SendMessage(this, PInvokeCore.WM_SETICON, (WPARAM)PInvoke.ICON_SMALL, (LPARAM)_smallIcon.Handle); 6474PInvokeCore.SendMessage(this, PInvokeCore.WM_SETICON, (WPARAM)PInvoke.ICON_BIG, (LPARAM)icon.Handle);
System\Windows\Forms\NotifyIcon.cs (1)
656data.hIcon = _icon.Handle;