8 references to IsNull
System.Drawing.Common (6)
System\Drawing\Icon.cs (6)
46
if (handle.
IsNull
)
181
return !hIcon.
IsNull
? new Icon(hIcon, takeOwnership: true) : null;
185
public IntPtr Handle => _handle.
IsNull
? throw new ObjectDisposedException(GetType().Name) : (nint)_handle;
260
if (!_handle.
IsNull
)
406
if (_iconData is null || !_handle.
IsNull
)
562
if (_handle.
IsNull
)
System.Windows.Forms (2)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogIcon.cs (1)
200
if (!handle.
IsNull
)
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
81
Icon icon = !hIcon.
IsNull
? Icon.FromHandle(hIcon) : Form.DefaultIcon;