From 04da4a4a55540b92b224d0f79be513695794ce08 Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 13 Feb 2025 01:20:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A0=E6=95=88=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- automation.cs | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 automation.cs diff --git a/automation.cs b/automation.cs deleted file mode 100644 index 9c2dc58..0000000 --- a/automation.cs +++ /dev/null @@ -1,9 +0,0 @@ - // 如果指定了过滤条件,创建一个组合条件 - if (!string.IsNullOrEmpty(filter)) - { - searchCondition = new OrCondition( - new PropertyCondition(AutomationElement.NameProperty, filter, PropertyConditionFlags.IgnoreCase), - new PropertyCondition(AutomationElement.ClassNameProperty, filter, PropertyConditionFlags.IgnoreCase), - new PropertyCondition(AutomationElement.AutomationIdProperty, filter, PropertyConditionFlags.IgnoreCase) - ); - }