private void button_Click(object sender, RoutedEventArgs e) { Window listWindow = new ListWindow(xml, countries, cbCountrySelection.Text); listWindow.Show(); Close(); }