3 writes to _toolboxService
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ComponentTray.cs (3)
1117
_toolboxService
??= (IToolboxService)GetService(typeof(IToolboxService));
1229
_toolboxService
??= (IToolboxService)GetService(typeof(IToolboxService));
1492
_toolboxService
??= (IToolboxService)GetService(typeof(IToolboxService));
7 references to _toolboxService
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (7)
1122
if (
_toolboxService
is not null && dragComps is null)
1124
_mouseDragTool =
_toolboxService
.DeserializeToolboxItem(de.Data, (IDesignerHost)GetService(typeof(IDesignerHost)));
1232
if (e.Button == MouseButtons.Left &&
_toolboxService
is not null)
1234
ToolboxItem tool =
_toolboxService
.GetSelectedToolboxItem((IDesignerHost)GetService(typeof(IDesignerHost)));
1246
_toolboxService
.SelectedToolboxItemUsed();
1494
if (
_toolboxService
is null || !
_toolboxService
.SetCursor())