コード例 #1
0
 /// <summary>
 /// Determines whether the specified WindowHandle is real TaskWindow:
 /// That is, one that should show up on the TaskBar
 /// </summary>
 /// <param name="includeToolWindows">If set to <c>true</c> include Tool windows.</param>
 /// <returns>
 ///     <c>true</c> if the specified window is a TaskWindow; otherwise, <c>false</c>.
 /// </returns>
 public bool IsAppWindow(bool includeToolWindows)
 {
     return(WindowFinder.IsAppWindow(this.Handle, includeToolWindows));
 }
コード例 #2
0
 /// <summary>
 /// Determines whether the specified WindowHandle is real TaskWindow:
 /// That is, one that should show up on the TaskBar
 /// </summary>
 /// <returns>
 ///     <c>true</c> if the specified window is a TaskWindow; otherwise, <c>false</c>.
 /// </returns>
 public bool IsAppWindow()
 {
     return(WindowFinder.IsAppWindow(this.Handle));
 }