我正在使用
通过鼠标光标获取元素,但我找不到类型
我正在使用 .Net Framework 4.5。
UIAutomation
方法。System.Windows.Automation.AutomationElement.FromPoint(System.Windows.Point)
通过鼠标光标获取元素,但我找不到类型
System.Windows.Point
。我查了对象库,但仍然没找到。我正在使用 .Net Framework 4.5。
System.Windows.Point
是 WPF 的一部分,如果您尝试在 WinForms 应用程序中执行此操作,则不受支持。 - Peter Ritchie