示例#1
0
        private async void CheckBox_Checked(object sender, RoutedEventArgs e)
        {
            locationCheckBox.Content = "Locating...";
            place = await Location.GetYourLocation();

            locationCheckBox.Content = place.locationTag;
        }
示例#2
0
 private void CheckBox_Unchecked(object sender, RoutedEventArgs e)
 {
     place = null;
     locationCheckBox.Content = "Include location";
 }