Exemple #1
0
 TrayIconProvider(InProgressWindow window) : this((Window)window)
 {
     window.ProcessingCompleted += (s, e) =>
     {
         window.Title = "Analysis Complete";
         HandleStateChanged(s, e);
     };
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of the MinimizeToTrayInstance class.
 /// </summary>
 /// <param name = "window">Window instance to attach to.</param>
 public static TrayIconProvider FromInProgressWindow(InProgressWindow window) => new TrayIconProvider(window);