/// <summary>
 /// Create a new event vased on the given playlist
 /// </summary>
 public PlaylistChangedEventArgs(Playlist NewPlaylist)
 {
     this.NewPlaylist = NewPlaylist;
 }
Пример #2
0
 /// <summary>
 /// Create a new blank player control.
 /// </summary>
 public Player()
 {
     CurrentPlaylist = new Playlist();
     Initialise();
     AddCloseTriggers();
 }
Пример #3
0
 /// <summary>
 /// Create a new player, preloaded with the given playlist
 /// </summary>
 /// <param name="PlayList">Playlist as either an XML string or a URL to an XML asset.</param>
 public Player(string PlayList)
 {
     CurrentPlaylist = new Playlist();
     CurrentPlaylist.PlaylistLoaded += CurrentPlaylist_PlaylistChanged;
     CurrentPlaylist.ReadPlaylist(PlayList);
 }
 /// <summary>
 /// Create a new event vased on the given playlist
 /// </summary>
 public PlaylistChangedEventArgs(Playlist NewPlaylist)
 {
     this.NewPlaylist = NewPlaylist;
 }