public MainWindow() { InitializeComponent(); Termination = false; waveOutDevice = new WaveOut(); waveOutDevice.PlaybackStopped += WaveOutDevice_PlaybackStopped; Play_List.ItemsSource = upcoming; cFunctions = new Cloud.CloudFunctions(); }