示例#1
0
        private void linkSetup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            using (SetupForm f = new SetupForm())
            {
                f.CurrentLocation = currentLocation;
                f.ShowDialog();
                currentLocation = f.CurrentLocation;
            }

            renderWeather(Weather.Parse(getWeather(currentLocation)));
        }