private void mouseMoreInfoClick(object sender, RoutedEventArgs e)
        {
            MoreInfoHostingUnitWindow window = new MoreInfoHostingUnitWindow(HostingUnitsList.SelectedItem);

            window.Show();
            //    if (HostingUnitsList.SelectedItem != null)
            //        MessageBox.Show(HostingUnitsList.SelectedItem.ToString(), "Hosting unit information", MessageBoxButton.OK, MessageBoxImage.Information, MessageBoxResult.None, MessageBoxOptions.RtlReading);
        }
 private void mouseMoreInfoClick(object sender, RoutedEventArgs e)
 {
     if (options.SelectedIndex == 0)
     {
         MoreInfoHostWindow window = new MoreInfoHostWindow(HostingUnitsList.SelectedItem);
         window.Show();
     }
     if (options.SelectedIndex == 1)
     {
         MoreInfoOrderWindow window = new MoreInfoOrderWindow(HostingUnitsList.SelectedItem);
         window.Show();
     }
     if (options.SelectedIndex == 2 || options.SelectedIndex == 3)
     {
         MoreInfoGuestRequestWindow window = new MoreInfoGuestRequestWindow(HostingUnitsList.SelectedItem);
         window.Show();
     }
     if (options.SelectedIndex == 4)
     {
         MoreInfoHostingUnitWindow window = new MoreInfoHostingUnitWindow(HostingUnitsList.SelectedItem);
         window.Show();
     }
 }