2 writes to _rootComponent
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (2)
256
_rootComponent
= component;
667
_rootComponent
= null;
15 references to _rootComponent
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerHost.cs (15)
194
if (
_rootComponent
is not null && string.Equals(component.GetType().FullName, _rootComponentClassName, StringComparison.OrdinalIgnoreCase))
245
if (
_rootComponent
is null)
561
if (component ==
_rootComponent
)
665
if (component ==
_rootComponent
)
702
&&
_rootComponent
is not null
703
&& _designers.TryGetValue(
_rootComponent
, out IDesigner? designer))
725
if (!ReferenceEquals(comp,
_rootComponent
))
750
if (
_rootComponent
is not null)
752
if (_designers.Remove(
_rootComponent
, out IDesigner? rootComponentDesigner))
766
_rootComponent
.Dispose();
873
IComponent IDesignerHost.RootComponent =>
_rootComponent
!;
1060
else if (
_rootComponent
?.Site is not null)
1062
_rootComponentClassName =
_rootComponent
.Site.Name;
1066
if (successful &&
_rootComponent
is null)
1100
IRootDesigner rootDesigner = (((IDesignerHost)this).GetDesigner(
_rootComponent
!) as IRootDesigner)