예제 #1
0
파일: Windows.cs 프로젝트: 24/source_04
        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());
        }
예제 #2
0
파일: Windows.cs 프로젝트: 24/source_04
        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());
        }
예제 #3
0
파일: Windows.cs 프로젝트: labeuze/source
 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();
 }
예제 #4
0
파일: Windows.cs 프로젝트: labeuze/source
 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();
 }
예제 #5
0
파일: Windows.cs 프로젝트: labeuze/source
 public static WindowInfo[] GetWindowsInfoList()
 {
     EnumWindows enumWindows = new EnumWindows();
     return (from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray();
 }
예제 #6
0
파일: Windows.cs 프로젝트: labeuze/source
 public static IntPtr[] GetWindowsList()
 {
     EnumWindows enumWindows = new EnumWindows();
     return enumWindows.GetWindowsList().ToArray();
 }
예제 #7
0
파일: Windows.cs 프로젝트: 24/source_04
        public static WindowInfo[] GetWindowsInfoList()
        {
            EnumWindows enumWindows = new EnumWindows();

            return((from hWnd in enumWindows.GetWindowsList() select GetWindowInfo(hWnd)).ToArray());
        }
예제 #8
0
파일: Windows.cs 프로젝트: 24/source_04
        public static IntPtr[] GetWindowsList()
        {
            EnumWindows enumWindows = new EnumWindows();

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