6 references to MethodInvoker
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
6072
else if (tme._method is
MethodInvoker
invoker)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1960
BeginInvoke((
MethodInvoker
)(() => SelectedTab.TabAccessibilityObject.RaiseAutomationEvent(UIA_EVENT_ID.UIA_AutomationFocusChangedEventId)));
System\Windows\Forms\Internal\WinFormsMetadataUpdateHandler.cs (1)
20
openForm.BeginInvoke((
MethodInvoker
)(() => openForm.Refresh()));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
3949
DivideByZeroException exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((
MethodInvoker
)FaultingMethod));
4068
var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((
MethodInvoker
)FaultingMethod));
4135
var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((
MethodInvoker
)FaultingMethod));