Exemplo n.º 1
0
 private void ShowProblemImages(CustomerInfo currentInfo)
 {
     UCImages.DataContext = from i in _ImagesData where i.IdUser==currentInfo.CustomerID select i;
     UCImages.Visibility = System.Windows.Visibility.Visible;
 }
Exemplo n.º 2
0
 /// <summary>
 /// when your tapped customer point, show custommize menu to select a property
 /// in scene, i direction map from to your location to customer location
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CustomerPoint_Tapped(object sender, System.Windows.Input.GestureEventArgs e)
 {
     var customerContext = ((sender as Image).Parent as StackPanel).DataContext as common.CustomerInfo;
     _currentCustomer = customerContext;
     MarkIcon_Tapped(sender as Image);
 }