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