public void closeTopVideo()
 {
     try
     {
         if (topVideoWindow != null)
         {
             topVideoWindow.Close();
             topVideoWindow = null;
         }
     }
     catch
     {
     }
 }
 public void runTopVideo()
 {
     try
     {
         if (topVideoWindow == null)
         {
             topVideoWindow = new VZ_TopPlayerWindow();
             topVideoWindow.Show();
         }
         topVideoWindow.Visibility = System.Windows.Visibility.Visible;
         topVideoWindow.play();
     }
     catch (Exception ex)
     {
         Scratch.Log.LogConfig.Logger.Error("出错:", ex);
         topVideoWindow = null;
     }
 }