2 writes to _surface
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (2)
68
_surface
= surface;
473
_surface
= null;
15 references to _surface
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerHost.cs (15)
247
designer =
_surface
!.CreateDesigner(component, true) as IRootDesigner ??
259
designer =
_surface
!.CreateDesigner(component, false);
330
_surface
!.OnLoading();
443
if (
_surface
is not null)
504
serviceInstance = base.GetService(service) ??
_surface
?.GetService(service);
539
if (e.OldDesigner == this &&
_surface
is not null)
541
_surface
.Flush();
689
_surface
?.OnUnloading();
788
_surface
?.OnUnloaded();
914
void IDesignerHost.Activate() =>
_surface
?.OnViewActivate();
943
if (
_surface
is null)
948
component =
_surface
.CreateInstance(componentType) as IComponent;
1077
_surface
?.OnLoaded(successful, errorCollection);
1119
_surface
?.OnLoaded(successful, errorCollection);
1158
_surface
!.Flush();