11 references to new
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignSurface.cs (2)
22
public DesignSurface() :
this
((IServiceProvider?)null)
61
public DesignSurface(IServiceProvider? parentProvider, Type rootComponentType) :
this
(parentProvider)
System\ComponentModel\Design\DesignSurfaceManager.cs (1)
274
protected virtual DesignSurface CreateDesignSurfaceCore(IServiceProvider parentProvider) =>
new
(parentProvider);
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3151
public SubDesignSurface(IServiceProvider parentProvider) :
base
(parentProvider)
System\ComponentModel\Design\DesignSurfaceTests.cs (2)
1477
using DesignSurface surface =
new
(mockServiceProvider.Object);
1719
public SubDesignSurface(IServiceProvider parentProvider) :
base
(parentProvider)
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
404
using DesignSurface surface =
new
(mockServiceProvider.Object);
810
using DesignSurface surface =
new
(mockServiceProvider.Object);
858
using DesignSurface surface =
new
(mockParentProvider?.Object);
1023
public SubDesignSurface(IServiceProvider parentProvider) :
base
(parentProvider)
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
60
DesignSurface designSurface =
new
(serviceContainer);