private void EnterGuestMode_Click(object sender, RoutedEventArgs e)
        {
            GuestMode guestMode = new GuestMode();

            guestMode.Show();
            this.Close();
        }
 public HostInfo(GuestMode guestWindow, employees host)
 {
     InitializeComponent();
     db = RadioEntities.GetContext();
     this.guestWindow = guestWindow;
     showHostInfo(host);
 }
 public PlayedSongsList(GuestMode guestWindow, schedule schedule)
 {
     InitializeComponent();
     this.guestWindow = guestWindow;
     db            = RadioEntities.GetContext();
     this.schedule = schedule;
     ShowScheduleInfo();
     AddItemsSource(schedule.scheduleCode);
     AddSorting();
     if (Table.Items.Count == 0)
     {
         MessageBox.Show("Нет информации о песнях за данный эфир.", "", MessageBoxButton.OK, MessageBoxImage.Information);
     }
 }