Пример #1
0
 protected void onPlayerStateChange(WMPPlayerArgs args)
 {
     if (OnPlayerStateChange != null)
     {
         OnPlayerStateChange(this, args);
     }
 }
Пример #2
0
 protected void onPlayContextChange(WMPPlayerArgs args)
 {
     if (OnPlayContextChange != null)
     {
         System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
         OnPlayContextChange(this, args);
     }
 }
Пример #3
0
 public void Dispose()
 {
     _timer.Dispose();
     _timer = null;
     _wmp.close();
     _wmp  = null;
     _args = null;
 }
Пример #4
0
 protected void onPlayerStateChange(WMPPlayerArgs args)
 {
     if (OnPlayerStateChange != null)
     {
         OnPlayerStateChange(this, args);
     }
 }
Пример #5
0
 protected void onPlayContextChange(WMPPlayerArgs args)
 {
     if (OnPlayContextChange != null)
     {
         System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
         OnPlayContextChange(this, args);
     }
 }
Пример #6
0
 public void Dispose()
 {
     _timer.Dispose();
     _timer = null;
     _wmp.close();
     _wmp = null;
     _args = null;
 }