public void Add(IntPtr hWnd)
        {
            EnumWindowsItem item = new EnumWindowsItem(hWnd);

            base.InnerList.Add(item);
        }
示例#2
0
 /// <summary>
 /// Add a new Window to the collection.  Intended for
 /// internal use by EnumWindows only.
 /// </summary>
 /// <param name="hWnd">Window handle to add</param>
 public void Add(IntPtr hWnd)
 {
     EnumWindowsItem item = new EnumWindowsItem(hWnd);
     this.InnerList.Add(item);
 }