14 references to Remove
System.Windows.Forms (3)
System\Windows\Forms\DataBinding\BindingContext.cs (1)
350
oldManager?.Bindings.
Remove
(binding);
System\Windows\Forms\DataBinding\BindingsCollection.cs (1)
109
protected internal void RemoveAt(int index) =>
Remove
(this[index]);
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (1)
231
public new void Remove(Binding binding) => base.
Remove
(binding);
System.Windows.Forms.Tests (11)
System\Windows\Forms\BindingManagerBaseTests.cs (4)
94
collection.
Remove
(binding);
107
Assert.Throws<ArgumentNullException>("dataBinding", () => collection.
Remove
(null));
120
Assert.Throws<ArgumentException>("dataBinding", () => collection.
Remove
(binding2));
136
Assert.Throws<ArgumentException>("dataBinding", () => collection2.
Remove
(binding1));
System\Windows\Forms\BindingsCollectionTests.cs (7)
297
collection.
Remove
(binding);
329
collection.
Remove
(binding);
341
collection.
Remove
(binding);
351
collection.
Remove
(binding);
364
collection.
Remove
(null);
376
collection.
Remove
(binding2);
390
collection2.
Remove
(binding1);