예제 #1
0
        private async void OnItemSelected()
        {
            if (PlaceDetails.IsEditMode)
            {
                StatusReady();
                PlaceDetails.CancelEdit();
            }
            PlaceOrders.IsMultipleSelection = false;
            var selected = PlaceList.SelectedItem;

            if (!PlaceList.IsMultipleSelection)
            {
                if (selected != null && !selected.IsEmpty)
                {
                    await PopulateDetails(selected);
                    await PopulateOrders(selected);
                }
            }
            PlaceDetails.Item = selected;
        }
예제 #2
0
 public void Unload()
 {
     PlaceDetails.CancelEdit();
     PlaceList.Unload();
 }