5 implementations of IWindowTarget
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
105
private sealed unsafe partial class ActiveXImpl : MarshalByRefObject,
IWindowTarget
, IDisposable
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
10
internal sealed class ControlNativeWindow : NativeWindow,
IWindowTarget
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.ChildWindowTarget.cs (1)
8
private class ChildWindowTarget :
IWindowTarget
, IDesignerTarget
System\Windows\Forms\Design\ControlDesigner.DesignerWindowTarget.cs (1)
8
private class DesignerWindowTarget :
IWindowTarget
, IDesignerTarget, IDisposable
System\Windows\Forms\Design\PbrsForward.cs (1)
8
internal partial class PbrsForward :
IWindowTarget
15 references to IWindowTarget
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
125
private readonly
IWindowTarget
_controlWindowTarget;
2106
void
IWindowTarget
.OnHandleChange(IntPtr newHandle) => _controlWindowTarget.OnHandleChange(newHandle);
2111
void
IWindowTarget
.OnMessage(ref Message m)
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
69
internal
IWindowTarget
WindowTarget { get; set; }
System\Windows\Forms\Control.cs (1)
3561
public
IWindowTarget
WindowTarget
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ControlDesigner.ChildWindowTarget.cs (2)
14
public ChildWindowTarget(ControlDesigner designer, Control childControl,
IWindowTarget
oldWindowTarget)
21
public
IWindowTarget
OldWindowTarget { get; }
System\Windows\Forms\Design\ControlDesigner.cs (3)
501
IWindowTarget
oldTarget = e.Control.WindowTarget;
870
IWindowTarget
oldTarget = child.WindowTarget;
1677
IWindowTarget
? oldTarget = null;
System\Windows\Forms\Design\ControlDesigner.DesignerWindowTarget.cs (1)
11
internal
IWindowTarget
_oldTarget;
System\Windows\Forms\Design\PbrsForward.cs (3)
11
private readonly
IWindowTarget
_oldTarget;
56
void
IWindowTarget
.OnHandleChange(IntPtr newHandle)
63
void
IWindowTarget
.OnMessage(ref Message m)
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Properties.cs (1)
13764
Mock<
IWindowTarget
> mock = new(MockBehavior.Strict);