Esempio n. 1
0
 private void Player_ItemStarted(object sender, PlayerItemEventArgs e)
 {
     this.NextPlayItem    = null;
     this.CurrentPlayItem = (PlayItemWrapper)e.PlayerItem;
     this.CurrentPlayItem.OnStarted();
 }
Esempio n. 2
0
 private void Player_ItemLoaded(object sender, PlayerItemEventArgs e)
 {
     this.NextPlayItem = (PlayItemWrapper)e.PlayerItem;
     this.NextPlayItem.OnLoaded();
 }
Esempio n. 3
0
 private void Player_ItemStopped(object sender, PlayerItemEventArgs e)
 {
     this.CurrentPlayItem.OnStopped();
     this.CurrentPlayItem = null;
 }