コード例 #1
0
 /// <summary>
 /// Selects the specified information.
 /// </summary>
 /// <param name="selectedWindow">The selected window.</param>
 public void Select(WindowMonitor.WindowInformation selectedWindow)
 {
     if (SelectedWindow == null)
         SelectedWindow = selectedWindow;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WindowSelectionEventArgs" /> class.
 /// </summary>
 /// <param name="activeWindow">The active window.</param>
 public WindowSelectionEventArgs(Process process, WindowMonitor.WindowInformation activeWindow)
 {
     Process = process;
     ActiveWindow = activeWindow;
 }