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