WPF UI自动化问题 [英] WPF UI Automation issue

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

问题描述

此主题属于这个

我问我在哪里需要从的这个

I am asking where do I need to insert the workaround from this

我有这对一些客户端与Windows 7性能问题的WPF应用程序。在Windows XP中的所有工作快。应用程序有一个MainShell和一些儿童的Windows。该MainShell有时挂在一些机器等做子窗口。现在,我必须在所有窗口上面的链接插入从线程的解决方法吗?
是还有这个其他的解决办法?

I have a WPF application which has performance issue on some clients with Windows 7. On Windows XP all is working fast. The application has a MainShell and some Child-Windows. The MainShell hangs sometimes on some machines, and so do the child windows. Now, do I have to insert the workaround from the thread from the above link in all windows? Are there still other workaround about this?

推荐答案

我一直在努力,已罚款无形中应用一切,但WPF控件是某些笔记本电脑(联想)慢。它是滞后,冻结和一般禁止使用

I have been working on an application that has been fine on virtually everything but the WPF Controls were slow on certain laptops (Lenovo). It was lagging and freezing and generally inhibiting use.

我做了以下内容:


  1. 实现上面的代码:改进它,但没有修好

  2. 下载修补程序 - - 的 http://archive.msdn.microsoft.com/KB978520 (可能不需要)

  3. 下载修补程序 - - 的 http://archive.msdn.microsoft.com/KB2484841 (绝对必需的,即使你有Windows 7 / .NET 4)

  4. 改进的代码进一步(验证是造成过量的对象) - 为什么WPF样式来显示为一个文本框工具提示工作验证错误而失败的组合框?

  1. Implemented the code above: Improved it, but did not fix.
  2. Downloaded Hotfix - - http://archive.msdn.microsoft.com/KB978520 (may not be required)
  3. Downloaded Hotfix - - http://archive.msdn.microsoft.com/KB2484841 (definitely required even if you have Windows 7 / .NET 4)
  4. Improved the code further (the validation was causing an excess of objects) - Why does WPF Style to show validation errors in ToolTip work for a TextBox but fails for a ComboBox?

有可能会被要求b
$ b只有3号,但它的工作。刚刚发布,让别人不要失去我在内存分析器等失去了天。

It may be that only Number 3 was required, but it worked. Just posting here so people dont lose the days I lost in memory profilers etc.

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

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