阅读背景:

我怎样才能避免线。在使用WPF自动化框架时睡觉?

来源:互联网 

I am trying to use WPF UI Automation working without using spurious thread.sleep statements. What I would like to do is have a function GetElementById that continually polls until the control is available (or a timeout occurs). The problem is that it appears to cache the child controls of my parent element. Is it possible to refresh to Children? Or does anyone have an alternative approach?I am trying to use WPF UI Automation working wi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: