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)
247designer = _surface!.CreateDesigner(component, true) as IRootDesigner ?? 259designer = _surface!.CreateDesigner(component, false); 330_surface!.OnLoading(); 443if (_surface is not null) 504serviceInstance = base.GetService(service) ?? _surface?.GetService(service); 539if (e.OldDesigner == this && _surface is not null) 541_surface.Flush(); 689_surface?.OnUnloading(); 788_surface?.OnUnloaded(); 914void IDesignerHost.Activate() => _surface?.OnViewActivate(); 943if (_surface is null) 948component = _surface.CreateInstance(componentType) as IComponent; 1077_surface?.OnLoaded(successful, errorCollection); 1119_surface?.OnLoaded(successful, errorCollection); 1158_surface!.Flush();