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