2 writes to _serviceProviderTarget
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
305
_serviceProviderTarget
= dragTarget.Site;
643
_serviceProviderTarget
= target.Site;
15 references to _serviceProviderTarget
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (15)
302
if (
_serviceProviderTarget
is null)
306
if (
_serviceProviderTarget
is null)
316
_destHost = (IDesignerHost)
_serviceProviderTarget
.GetService(typeof(IDesignerHost));
327
_behaviorServiceTarget = (BehaviorService)
_serviceProviderTarget
.GetService(typeof(BehaviorService));
344
IComponentChangeService componentChangeSvcTarget = (IComponentChangeService)
_serviceProviderTarget
.GetService(typeof(IComponentChangeService));
353
selSvc = (ISelectionService)
_serviceProviderTarget
.GetService(typeof(ISelectionService));
401
tray =
_serviceProviderTarget
.GetService(typeof(ComponentTray)) as ComponentTray;
412
temp = DesignerUtils.CopyDragObjects(temp,
_serviceProviderTarget
);
524
tray ??=
_serviceProviderTarget
.GetService(typeof(ComponentTray)) as ComponentTray;
644
if (
_serviceProviderTarget
is null)
649
IDesignerHost newDestHost = (IDesignerHost)
_serviceProviderTarget
.GetService(typeof(IDesignerHost));
662
_statusCommandUITarget = new StatusCommandUI(
_serviceProviderTarget
);
672
_behaviorServiceTarget = (BehaviorService)
_serviceProviderTarget
.GetService(typeof(BehaviorService));
683
DisableAdorners(
_serviceProviderTarget
, _behaviorServiceTarget, true);
735
_dragAssistanceManager = new DragAssistanceManager(
_serviceProviderTarget
, _graphicsTarget, _dragObjects, null, _lastEffect == DragDropEffects.Copy);