2 writes to _host
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignSurface.cs (2)
45
_host
= new DesignerHost(this);
365
_host
= null!;
14 references to _host
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignSurface.cs (14)
75
ObjectDisposedException.ThrowIf(
_host
is null, this);
76
return ((IDesignerHost)
_host
).Container;
128
ObjectDisposedException.ThrowIf(
_host
is null, this);
130
IComponent? rootComponent = ((IDesignerHost)
_host
).RootComponent;
156
if (((IDesignerHost)
_host
).GetDesigner(rootComponent) is not IRootDesigner rootDesigner)
226
ObjectDisposedException.ThrowIf(
_host
is null, this);
230
_host
.BeginLoad(loader);
241
ObjectDisposedException.ThrowIf(
_host
is null, this);
260
ObjectDisposedException.ThrowIf(
_host
is null, this);
319
ObjectDisposedException.ThrowIf(
_host
is null, this);
321
return new SiteNestedContainer(owningComponent, containerName,
_host
);
352
_host
?.DisposeHost();
376
_host
?.Flush();
443
IComponent? rootComponent = ((IDesignerHost)
_host
).RootComponent;