예제 #1
0
파일: WuClient.cs 프로젝트: vackup/XWeather
        public void RemoveLocation(WuLocation location)
        {
            Locations.Remove(location);

            Locations.Sort();

            LocationRemoved?.Invoke(this, EventArgs.Empty);
        }
예제 #2
0
파일: WuClient.cs 프로젝트: blparr/XWeather
        public void RemoveLocation(WuLocation location)
        {
            Locations.Remove(location);

            Locations.Sort();

            LocationRemoved?.Invoke(this, EventArgs.Empty);

            SettingsStudio.Settings.LocationsJson = Locations.GetLocationsJson();
        }