2 writes to _surface
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (2)
68
_surface
= surface;
480
_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;
263
designer =
_surface
!.CreateDesigner(component, false);
334
_surface
!.OnLoading();
447
if (
_surface
is not null)
511
serviceInstance = base.GetService(service) ??
_surface
?.GetService(service);
546
if (e.OldDesigner == this &&
_surface
is not null)
548
_surface
.Flush();
699
_surface
?.OnUnloading();
798
_surface
?.OnUnloaded();
924
void IDesignerHost.Activate() =>
_surface
?.OnViewActivate();
953
if (
_surface
is null)
958
component =
_surface
.CreateInstance(componentType) as IComponent;
1087
_surface
?.OnLoaded(successful, errorCollection);
1129
_surface
?.OnLoaded(successful, errorCollection);
1168
_surface
!.Flush();