6 references to FromHandle
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3535=> cursor is null ? null : Icon.FromHandle(cursor.Handle).CreateIPictureRCW(copy: true);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
67_lastManaged = Icon.FromHandle(extendedHandle);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogIcon.cs (1)
194var icon = Icon.FromHandle(handle);
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
81Icon icon = !hIcon.IsNull ? Icon.FromHandle(hIcon) : Form.DefaultIcon;
System.Windows.Forms.Design (1)
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
89using Icon wrapper = Icon.FromHandle(cursor.Handle);
System.Windows.Forms.Primitives (1)
System\Drawing\ImageExtensions.cs (1)
27return (Image)(Icon.FromHandle((HICON)handle).Clone());