1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
14725
this.
owner
= owner;
24 references to owner
System.Windows.Forms (24)
winforms\Managed\System\WinForms\Control.cs (24)
14752
if (
owner
.CreateThreadId != value.CreateThreadId) {
14756
CheckParentingCycle(
owner
, value);
14758
if (value.parent ==
owner
) {
14793
owner
.SuspendLayout();
14801
value.AssignParent(
owner
);
14804
if (oldParent != value.parent && (
owner
.state & STATE_CREATED) != 0) {
14805
value.SetParentHandle(
owner
.InternalHandle);
14815
owner
.ResumeLayout(false);
14824
LayoutTransaction.DoLayout(
owner
, value, PropertyNames.Parent);
14825
owner
.OnControlAdded(new ControlEventArgs(value));
14855
owner
.SuspendLayout();
14862
owner
.ResumeLayout(true);
14875
ControlCollection ccOther =
owner
.CreateControlsInstance();
15018
return
owner
;
15035
if (value.ParentInternal ==
owner
) {
15036
Debug.Assert(
owner
!= null);
15044
LayoutTransaction.DoLayout(
owner
, value, PropertyNames.Parent);
15045
owner
.OnControlRemoved(new ControlEventArgs(value));
15048
ContainerControl cc =
owner
.GetContainerControlInternal() as ContainerControl;
15051
cc.AfterControlRemoved(value,
owner
);
15132
owner
.SuspendLayout();
15135
CommonProperties.xClearAllPreferredSizeCaches(
owner
);
15141
owner
.ResumeLayout();
15200
LayoutTransaction.DoLayout(
owner
, child, PropertyNames.ChildIndex);