private MediaQueueListener()
 {
     _synchronizationContext = Program.SynchronizationContext;
     _mediaQueue = new MediaQueue();
     _mp3Player = new Player();
     QueueLoop();
 }
示例#2
0
 public AudioForm(MediaQueue mediaQueue)
 {
     InitializeComponent();
     _mediaQueue = mediaQueue;
     _mp3Player = new Player();
     FormSynchronizationContext = SynchronizationContext.Current;
     this.Opacity = 0;
 }