void _worker_OnPresentationChanged(object sender, PresentationChangedEventArgs e)
 {
     if (_isWorked == 0 || _isPaused == 1 || _isInit == 1) return;
     if (e.PresentationInfo.UniqueName.Equals(BackgroundPresentationUniqueName))
     {
         new Action(Init).BeginInvoke(null, null);
     }
 }
Esempio n. 2
0
 void _worker_OnPresentationChanged(object sender, PresentationChangedEventArgs e)
 {
     if (_scheduler != null && PresentationShowByPlayer && _currentInfo != null
         && _currentInfo.Equals(e.PresentationInfo))
     {
         _scheduler.UpdateSchedule(e.PresentationInfo);
     }
 }