C#在回调中调用主线程处理事件

Application.Current.Dispatcher.BeginInvoke(new Action(() =>
{
	// 主线程事件内容
}));

猜你喜欢

转载自blog.csdn.net/FireGhost57/article/details/88644765
今日推荐