10 references to Control
System.Windows.Forms (4)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (4)
392
if (binding is not null && binding.
Control
is not null)
394
SetError(binding.
Control
, (e.ErrorText ?? string.Empty));
428
if (errBindings[j].
Control
is Control control)
478
if (errBindings[j].
Control
is not Control control)
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingTests.cs (6)
28
Assert.Null(binding.
Control
);
57
Assert.Null(binding.
Control
);
86
Assert.Null(binding.
Control
);
115
Assert.Null(binding.
Control
);
144
Assert.Null(binding.
Control
);
173
Assert.Null(binding.
Control
);