예제 #1
0
파일: Weather.cs 프로젝트: wcgcw/Finder
 public void ReadWeather()
 {
     try
     {
         string[] r = null;
         if (city != null)
         {
             CityWeather.WeatherWebServiceSoapClient c = new CityWeather.WeatherWebServiceSoapClient("WeatherWebServiceSoap");
             r = c.getWeatherbyCityName(city);
         }
         if (weh != null)
         {
             weh(r);
         }
     }
     catch (Exception ex)
     {
     }
 }
예제 #2
0
파일: Weather.cs 프로젝트: wcgcw/Finder
        public void ReadWeather()
        {
            try
            {
                string[] r = null;
                if (city != null)
                {
                    CityWeather.WeatherWebServiceSoapClient c = new CityWeather.WeatherWebServiceSoapClient("WeatherWebServiceSoap");
                    r = c.getWeatherbyCityName(city);
                }
                if (weh != null)
                {
                    weh(r);
                }
            }
            catch (Exception ex)
            {

            }
        }