2 writes to _destHost
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
316
_destHost
= (IDesignerHost)_serviceProviderTarget.GetService(typeof(IDesignerHost));
718
_destHost
= newDestHost;
22 references to _destHost
System.Windows.Forms.Design (22)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (22)
172
if (_srcHost !=
_destHost
&&
_destHost
is not null)
185
if (_srcHost !=
_destHost
&&
_destHost
is not null)
223
if (c.Site is not null && !(c.Site is INestedSite) &&
_destHost
is not null)
225
_destHost
.Container.Add(c);
232
if (_lastEffect == DragDropEffects.Copy || (_srcHost !=
_destHost
&&
_destHost
is not null))
313
if (
_destHost
is null)
317
if (
_destHost
is null)
351
if (performCopy || (_srcHost !=
_destHost
&&
_destHost
is not null))
379
if (_srcHost is not null && !(_srcHost !=
_destHost
&&
_destHost
is not null && performCopy))
384
if (_srcHost !=
_destHost
&&
_destHost
is not null)
386
transTarget =
_destHost
.CreateTransaction(transDesc);
664
if ((_lastDropTarget is null) || (newDestHost !=
_destHost
))
666
if (
_destHost
is not null &&
_destHost
!= _srcHost)
1151
if (
_destHost
!= _srcHost &&
_destHost
is not null)