11 writes to WindowTarget
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
158
control.
WindowTarget
= this;
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ControlDesigner.cs (5)
504
e.Control.
WindowTarget
= new ChildWindowTarget(this, e.Control, oldTarget);
873
child.
WindowTarget
= new ChildWindowTarget(this, child, oldTarget);
1032
e.Control.
WindowTarget
= oldTarget.OldWindowTarget;
1123
control.
WindowTarget
= target.OldWindowTarget;
1684
child.
WindowTarget
= target.OldWindowTarget;
System\Windows\Forms\Design\ControlDesigner.DesignerWindowTarget.cs (2)
18
control.
WindowTarget
= this;
30
_designer.Control.
WindowTarget
= _oldTarget;
System\Windows\Forms\Design\PbrsForward.cs (2)
32
target.
WindowTarget
= this;
51
public void Dispose() => _target.
WindowTarget
= _oldTarget;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Properties.cs (1)
13766
cont.
WindowTarget
= mock.Object;
9 references to WindowTarget
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
157
_controlWindowTarget = control.
WindowTarget
;
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ControlDesigner.cs (5)
501
IWindowTarget oldTarget = e.Control.
WindowTarget
;
870
IWindowTarget oldTarget = child.
WindowTarget
;
1030
if (e.Control.
WindowTarget
is ChildWindowTarget oldTarget)
1121
if (site is not null && control.
WindowTarget
is ChildWindowTarget target)
1681
oldTarget = child.
WindowTarget
;
System\Windows\Forms\Design\ControlDesigner.DesignerWindowTarget.cs (1)
17
_oldTarget = control.
WindowTarget
;
System\Windows\Forms\Design\PbrsForward.cs (1)
30
_oldTarget = target.
WindowTarget
;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Properties.cs (1)
13768
Assert.Equal(mock.Object, cont.
WindowTarget
);