Implemented interface member:
method
Invoke
System.ComponentModel.ISynchronizeInvoke.Invoke(System.Delegate, System.Object[])
12 references to Invoke
System.Windows.Forms (6)
System\Windows\Forms\Application.ModalApplicationContext.cs (1)
45parentControl!.Invoke(
System\Windows\Forms\Control.cs (3)
5935_ = Invoke(method, null); 5952public object Invoke(Delegate method) => Invoke(method, null); 5981public T Invoke<T>(Func<T> method) => (T)Invoke(method, null);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
291PropertyGridView.Invoke(new SelectDelegate(Select), [flags]);
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (1)
86_controlToSendTo?.Invoke(d, [state]);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlTests.Methods.cs (6)
3987control.Invoke(method, [1]); 4014Assert.Throws<DivideByZeroException>(() => control.Invoke(method, [1])); 4078Assert.Throws<DivideByZeroException>(() => control.Invoke(method, [1])); 4135Assert.Throws<InvalidOperationException>(() => control.Invoke(method, Array.Empty<object>())); 4145Assert.Throws<TargetParameterCountException>(() => control.Invoke(method, null)); 4146Assert.Throws<TargetParameterCountException>(() => control.Invoke(method, Array.Empty<object>()));