Пример #1
0
        public MainWindow()
        {
            InitializeComponent();
            var r = new DataWeather("Москва");

            lvWeather.ItemsSource = r.Data;
        }
Пример #2
0
        private void btnUpdate_Click(object sender, RoutedEventArgs e)
        {
            var r = new DataWeather(cbCity.Text);

            lvWeather.ItemsSource = r.Data;
        }