private void btn_Details_Click(object sender, RoutedEventArgs e)
 {
     if (dataGrid_Weather.SelectedItems.Count == 1)
     {
         BasicWeatherData basicWeatherData = (BasicWeatherData)dataGrid_Weather.SelectedItem;
         DetailsWindow    detailsWindow    = new DetailsWindow(basicWeatherData);
         detailsWindow.ShowDialog();
     }
 }
 public DetailsWindow(BasicWeatherData basicWeatherData)
 {
     InitializeComponent();
     _basicWeatherData = basicWeatherData;
 }