6 references to MethodInvoker
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
6031
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)
3940
DivideByZeroException exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((
MethodInvoker
)FaultingMethod));
4059
var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((
MethodInvoker
)FaultingMethod));
4126
var exception = Assert.Throws<DivideByZeroException>(() => control.Invoke((
MethodInvoker
)FaultingMethod));