public static WindowInfo[] GetWindowsInfoListByClassName(string className) { EnumWindows enumWindows = new EnumWindows(); enumWindows.ClassNameFilter = className; //return (from hWnd in enumWindows.GetWindowsList() where GetWindowClassName(hWnd) == className select GetWindowInfo(hWnd)).ToArray(); return((from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray()); }
public static WindowInfo[] GetWindowsInfoList(string title, string className) { EnumWindows enumWindows = new EnumWindows(); enumWindows.TitleFilter = title; enumWindows.ClassNameFilter = className; return((from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray()); }
public static WindowInfo[] GetWindowsInfoListByClassName(string className) { EnumWindows enumWindows = new EnumWindows(); enumWindows.ClassNameFilter = className; //return (from hWnd in enumWindows.GetWindowsList() where GetWindowClassName(hWnd) == className select GetWindowInfo(hWnd)).ToArray(); return (from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray(); }
public static WindowInfo[] GetWindowsInfoList(string title, string className) { EnumWindows enumWindows = new EnumWindows(); enumWindows.TitleFilter = title; enumWindows.ClassNameFilter = className; return (from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray(); }
public static WindowInfo[] GetWindowsInfoList() { EnumWindows enumWindows = new EnumWindows(); return (from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray(); }
public static IntPtr[] GetWindowsList() { EnumWindows enumWindows = new EnumWindows(); return enumWindows.GetWindowsList().ToArray(); }
public static WindowInfo[] GetWindowsInfoList() { EnumWindows enumWindows = new EnumWindows(); return((from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray()); }
public static IntPtr[] GetWindowsList() { EnumWindows enumWindows = new EnumWindows(); return(enumWindows.GetWindowsList().ToArray()); }