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)
247designer = _surface!.CreateDesigner(component, true) as IRootDesigner; 263designer = _surface!.CreateDesigner(component, false); 334_surface!.OnLoading(); 447if (_surface is not null) 511serviceInstance = base.GetService(service) ?? _surface?.GetService(service); 546if (e.OldDesigner == this && _surface is not null) 548_surface.Flush(); 696_surface?.OnUnloading(); 795_surface?.OnUnloaded(); 921void IDesignerHost.Activate() => _surface?.OnViewActivate(); 950if (_surface is null) 955component = _surface.CreateInstance(componentType) as IComponent; 1084_surface?.OnLoaded(successful, errorCollection); 1126_surface?.OnLoaded(successful, errorCollection); 1165_surface!.Flush();