8 references to s_placeholderHost
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\DesignerHostTests.cs (8)
2439
yield return new object[] { new ActiveDesignerEventArgs(
s_placeholderHost
,
s_placeholderHost
), 0, 1, 1 };
2440
yield return new object[] { new ActiveDesignerEventArgs(
s_placeholderHost
, otherHost), 0, 1, 1 };
2441
yield return new object[] { new ActiveDesignerEventArgs(
s_placeholderHost
, null), 0, 1, 1 };
2443
yield return new object[] { new ActiveDesignerEventArgs(otherHost,
s_placeholderHost
), 1, 0, 0 };
2447
yield return new object[] { new ActiveDesignerEventArgs(null,
s_placeholderHost
), 1, 0, 0 };
2503
IDesignerHost newDesigner = eventArgs.NewDesigner ==
s_placeholderHost
? host : eventArgs.NewDesigner;
2504
IDesignerHost oldDesigner = eventArgs.OldDesigner ==
s_placeholderHost
? host : eventArgs.OldDesigner;