10 types derived from NativeWindow
System.Windows.Forms (9)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
9
internal class LabelEditNativeWindow :
NativeWindow
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
10
internal sealed class ControlNativeWindow :
NativeWindow
, IWindowTarget
System\Windows\Forms\Controls\ComboBox\ComboBox.ACNativeWindow.cs (1)
11
private sealed class ACNativeWindow :
NativeWindow
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildNativeWindow.cs (1)
10
private class ComboBoxChildNativeWindow :
NativeWindow
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.WebBrowserBaseNativeWindow.cs (1)
13
private class WebBrowserBaseNativeWindow :
NativeWindow
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
19
internal partial class ErrorWindow :
NativeWindow
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (1)
13
private class NotifyIconNativeWindow :
NativeWindow
System\Windows\Forms\Timer.cs (1)
180
private class TimerNativeWindow :
NativeWindow
System\Windows\Forms\ToolTip\ToolTip.ToolTipNativeWindow.cs (1)
8
private class ToolTipNativeWindow :
NativeWindow
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (1)
8
private class ChildSubClass :
NativeWindow
, IDesignerTarget
4 instantiations of NativeWindow
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
671
_dropDownOwnerWindow ??= new
NativeWindow
();
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
210
nativeWindow = new
NativeWindow
();
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
118
_tipWindow = new
NativeWindow
();
System\Windows\Forms\Form.cs (1)
2007
_ownerWindow ??= new
NativeWindow
();
45 references to NativeWindow
System.Windows.Forms (45)
System\Windows\Forms\Application.cs (3)
1373
if (
NativeWindow
.AnyHandleCreated)
1403
if (
NativeWindow
.AnyHandleCreated)
1499
=>
NativeWindow
.SetUnhandledExceptionModeInternal(mode, threadScope);
System\Windows\Forms\Application.ThreadContext.cs (1)
943
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\Control.cs (6)
5252
NativeWindow
? nativeWindow =
NativeWindow
.FromHandle(handle);
6214
if (
NativeWindow
.WndProcShouldBeDebuggable && !current._synchronous)
6237
if (!
NativeWindow
.WndProcShouldBeDebuggable
8520
if (bulkValidation ||
NativeWindow
.WndProcShouldBeDebuggable)
11813
HWND handle =
NativeWindow
.GetHandleFromWindowId((short)m.WParamInternal.LOWORD);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
1819
NativeWindow
? childWindow;
1977
internal
NativeWindow
GetListNativeWindow()
1984
NativeWindow
listNativeWindow = GetListNativeWindow();
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1233
_windowId =
NativeWindow
.CreateWindowId(this);
1319
NativeWindow
.RemoveWindowFromIDTable(_windowId);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
47
private
NativeWindow
? _dropDownOwnerWindow;
667
internal virtual
NativeWindow
DropDownOwnerWindow
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
303
internal override
NativeWindow
DropDownOwnerWindow =>
System\Windows\Forms\Controls\WebBrowser\HtmlShim.cs (1)
107
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (2)
127
if (
NativeWindow
.WndProcShouldBeDebuggable)
191
NativeWindow
? nativeWindow = null;
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
408
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (1)
141
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
326
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
1650
return !
NativeWindow
.WndProcShouldBeDebuggable;
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
27
private
NativeWindow
? _tipWindow;
System\Windows\Forms\Form.cs (2)
155
private
NativeWindow
? _ownerWindow;
3225
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
1567
if (
NativeWindow
.WndProcShouldBeDebuggable)
1636
if (
NativeWindow
.WndProcShouldBeDebuggable)
System\Windows\Forms\NativeWindow.cs (13)
57
private
NativeWindow
? _nextWindow;
58
private readonly WeakReference<
NativeWindow
> _weakThisPtr;
160
internal
NativeWindow
? PreviousWindow { get; private set; }
236
private static void AddWindowToTable(HWND handle,
NativeWindow
window)
255
if (oldRoot.Target is
NativeWindow
target)
290
/// Assigns a handle to this <see cref="
NativeWindow
"/> instance.
417
NativeWindow
? prevTargetWindow = windowClass._targetWindow;
554
public static
NativeWindow
? FromHandle(IntPtr handle)
560
private static
NativeWindow
? GetWindowFromTable(HWND handle) =>
562
? (
NativeWindow
?)value.Target
625
NativeWindow
? w = (
NativeWindow
?)gcHandle.Target;
702
private static void RemoveWindowFromDictionary(HWND hwnd,
NativeWindow
window)
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
22
internal
NativeWindow
? _targetWindow;
System\Windows\Forms\WindowSubclassHandler.cs (1)
47
/// is also the way that the <see cref="
NativeWindow
"/> class does it.