Esempio n. 1
0
        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());
        }
Esempio n. 2
0
        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());
        }
Esempio n. 3
0
 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();
 }
Esempio n. 4
0
 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();
 }
Esempio n. 5
0
 public static WindowInfo[] GetWindowsInfoList()
 {
     EnumWindows enumWindows = new EnumWindows();
     return (from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray();
 }
Esempio n. 6
0
 public static IntPtr[] GetWindowsList()
 {
     EnumWindows enumWindows = new EnumWindows();
     return enumWindows.GetWindowsList().ToArray();
 }
Esempio n. 7
0
        public static WindowInfo[] GetWindowsInfoList()
        {
            EnumWindows enumWindows = new EnumWindows();

            return((from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray());
        }
Esempio n. 8
0
        public static IntPtr[] GetWindowsList()
        {
            EnumWindows enumWindows = new EnumWindows();

            return(enumWindows.GetWindowsList().ToArray());
        }