Exemple #1
0
 /// <summary>
 /// Close the video player and all windows.
 /// </summary>
 private void Main_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (Business != null)
     {
         RatingViewer.UpdatePreference();
         Business.ClosePlayer();
         Downloads.Close();
         Application.Current.Shutdown();
     }
 }