10 references to Control
System.Windows.Forms (4)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (4)
384
if (binding is not null && binding.
Control
is not null)
386
SetError(binding.
Control
, (e.ErrorText ?? string.Empty));
420
if (errBindings[j].
Control
is Control control)
470
if (errBindings[j].
Control
is not Control control)
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingTests.cs (6)
30
Assert.Null(binding.
Control
);
59
Assert.Null(binding.
Control
);
88
Assert.Null(binding.
Control
);
117
Assert.Null(binding.
Control
);
146
Assert.Null(binding.
Control
);
175
Assert.Null(binding.
Control
);