public void PlayNextEvent()
 {
     if (_controlUtil.Paused)
     {
         _reader.PlayNextEvent();
     }
     else
     {
         JM726.Lib.Static.Util.Wake(_reader);
     }
 }
예제 #2
0
 protected void SetPaused(string name, UUID id, bool value)
 {
     if (!_paused.ContainsKey(id))
     {
         _paused.Add(id, false);
     }
     _paused[id]  = value;
     Model.Paused = value;
     if (value)
     {
         Util.Wake(_reader);
     }
     else
     {
         _reader.PlayNextEvent(false);
         QueueNextEvent(name, id);
     }
 }