changes.mady.by.user Сергей Полевиков
Сохранено 2016-05-08
...
void Button_Click(object sender, EventArgs e) { var location = GPS.CurrentLocation; if(location.NotEmpty) { Catalog.Outlet outlet = GetCurrentOutlet(); outlet.Latitude = location.Latitude; outet.Longitude = location.Longitude; outlet.Save(); } }