Dispatcher.PushFrame问题 [英] Dispatcher.PushFrame Issue

查看:137
本文介绍了Dispatcher.PushFrame问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了自己的MessageBox类,其功能与旧版Win32相同,但是更漂亮.

I've created my own MessageBox class is functionally the same as the old Win32 one, but prettier.

它具有静态方法,可以创建带有一些控件的新画布并将其添加到我的主窗口中.

It has static methods that create a new canvas with some controls on it and adds it to my main window.

然后我致电:

代码段

推荐答案

注意:此行为不在每种情况下都会发生,而我一直在尝试创建一个重现该问题的项目.

Note: this behavior doesn't happen in every case, and I've been trying to create a project that reproduces the issue.

但是,在有效的案例和无效的案例之间,我没有发现任何区别.有什么想法或已知问题,我应该看一下?

However, I've not found any difference between the cases that work and the cases that don't work.  Any ideas or known problems where I should look?


这篇关于Dispatcher.PushFrame问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆