Interaction logic for KaraokeWindow.xaml
Inheritance: System.Windows.Window
        private void Window_Loaded_1(object sender, RoutedEventArgs e)
        {
            var queue = dal.GetQueue();

            if (queue != null)
            {
                Gridqueque.ItemsSource = queue;
            }
            karWindow = new KaraokeWindow();
            karWindow.Show();
            karWindow.KaraokeEnded += karWindow_KaraokeEnded;
            NewRequest.Subscribe(newRequest =>
            {
                Gridqueque.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate() {
                    Gridqueque.ItemsSource = dal.GetQueue();
                }));
            });
        }
        private void Window_Loaded_1(object sender, RoutedEventArgs e)
        {
            var queue=dal.GetQueue();
            if (queue != null)
            {
                Gridqueque.ItemsSource = queue;
            }
            karWindow = new KaraokeWindow();
            karWindow.Show();
            karWindow.KaraokeEnded += karWindow_KaraokeEnded;
            NewRequest.Subscribe(newRequest =>
            {
                Gridqueque.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate() {
                    Gridqueque.ItemsSource = dal.GetQueue();
                }));

            });
        }