关于[Async and Async Void Event Handling in WPF]的摘要:
Async usage in C# is the recommended way to build UI based applications. But if you're using an older platform like WinForms or WPF, event handling still relies on the older decidedly non-async event delegate processing. In the past I've written about pitfalls when using async with WPF specifically a while back in the context of porting a commercial application - Markdown Monster - from mostly sync code to mostly async. In this post I want to re-iterate one of the most common problems that I have and still continue to run into in Markdown Monster with async code, over 1 year after the async migration...
原文地址: https://weblog.west-wind.com/posts/2022/Apr/22/Async-and-Async-Void-Event-Handling-in-WPF