private void btnArtistNumbers_Click(object sender, EventArgs e) { WeatherService.WeatherSvcClient weatherServiceClient = new WeatherService.WeatherSvcClient(); int numberOfArtists = weatherServiceClient.GetNumberOfArtists(); MessageBox.Show(numberOfArtists.ToString()); }
private void button1_Click(object sender, EventArgs e) { WeatherService.WeatherSvcClient weatherServiceClient = new WeatherService.WeatherSvcClient(); //var temp = weatherServiceClient.GetCurrentTemp(); var windSpeed = weatherServiceClient.GetWindSpeed(); MessageBox.Show(windSpeed.ToString()); }
private void button2_Click(object sender, EventArgs e) { WeatherService.WeatherSvcClient weatherServiceClient = new WeatherService.WeatherSvcClient(); weatherServiceClient.SendWindSpeed(34.2F); }