Created
July 27, 2020 18:19
-
-
Save Roman-Port/bb2197566265045d82a559158a967533 to your computer and use it in GitHub Desktop.
.NET Windows Forms Invoke Syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invoke((MethodInvoker)delegate | |
{ | |
//UI Work goes here | |
}); | |
//Created because I always forget the syntax for the delegate Invoke wants |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment