public static int handle(this IUIItem uiItem) { try { if (uiItem.notNull()) { return(uiItem.AutomationElement.Current.NativeWindowHandle); } } catch (Exception ex) { ex.log("in IUIItem handle(...)"); } return(-1); }
public static int handle(this IUIItem uiItem) { try { if (uiItem.notNull()) { return(uiItem.AutomationElement.Current.NativeWindowHandle); } } catch (Exception ex) { ex.log("in IUIItem handle(...)"); } return(-1); }