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