2 writes to _designerHost
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
50
_designerHost
= serviceProvider.GetRequiredService<IDesignerHost>();
184
_designerHost
= null!;
7 references to _designerHost
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (7)
59
_rootComponent = (Control)
_designerHost
.RootComponent;
78
_designerHost
.TransactionClosed += OnTransactionClosed;
81
DesignerOptionService? options =
_designerHost
.GetService<DesignerOptionService>();
181
if (
_designerHost
is not null)
183
_designerHost
.TransactionClosed -= OnTransactionClosed;
248
IDesigner? designer =
_designerHost
.GetDesigner(component);
289
if (!
_designerHost
.InTransaction)