14 references to WinFormsAppContextSwitchNames
System.Windows.Forms.TestUtilities (14)
AnchorLayoutV2Scope.cs (2)
21
_switchScope = new(
WinFormsAppContextSwitchNames
.AnchorLayoutV2, GetDefaultValue, enable);
38
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.AnchorLayoutV2);
ApplyParentFontToMenusScope.cs (2)
21
_switchScope = new(
WinFormsAppContextSwitchNames
.ApplyParentFontToMenus, GetDefaultValue, enable);
38
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.ApplyParentFontToMenus);
DataGridViewUIAStartRowCountAtZeroScope.cs (2)
20
_switchScope = new(
WinFormsAppContextSwitchNames
.DataGridViewUIAStartRowCountAtZero, GetDefaultValue, enable);
37
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.DataGridViewUIAStartRowCountAtZero);
NoClientNotificationsScope.cs (2)
21
_switchScope = new(
WinFormsAppContextSwitchNames
.NoClientNotifications, GetDefaultValue, enable);
38
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.NoClientNotifications);
ScaleTopLevelFormMinMaxSizeForDpiScope.cs (2)
21
_switchScope = new(
WinFormsAppContextSwitchNames
.ScaleTopLevelFormMinMaxSizeForDpi, GetDefaultValue, enable);
38
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.ScaleTopLevelFormMinMaxSizeForDpi);
ServicePointManagerCheckCrlScope.cs (2)
21
_switchScope = new(
WinFormsAppContextSwitchNames
.ServicePointManagerCheckCrl, GetDefaultValue, enable);
38
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.ServicePointManagerCheckCrl);
TreeNodeCollectionAddRangeRespectsSortOrderScope.cs (2)
21
_switchScope = new(
WinFormsAppContextSwitchNames
.TreeNodeCollectionAddRangeRespectsSortOrder, GetDefaultValue, enable);
38
.CreateDelegate<Func<string, bool>>("GetSwitchDefaultValue")(
WinFormsAppContextSwitchNames
.TreeNodeCollectionAddRangeRespectsSortOrder);