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