-
-
Save SriramSakthivel/a225f090e7b9493905fb to your computer and use it in GitHub Desktop.
Snippet to ShowDialog asynchronously which won't work
This file contains 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
Window window = YourWindow(); | |
bool? result = await Task.Run(()=> window.ShowDialog()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment