Exemplo n.º 1
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);
 }
Exemplo n.º 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);
        }