public void GetWindows(IntPtr hWndParent) { this.Items = new EnumWindowsCollection(); UnManagedMethods.EnumChildWindows( hWndParent, new EnumWindowsProc(this.WindowEnum), 0); }
public void GetWindows() { this.Items = new EnumWindowsCollection(); UnManagedMethods.EnumWindows( new EnumWindowsProc(this.WindowEnum), 0); }