Example #1
0
 private void SetLabelsText()
 {
     if (currentPoint.Point.Type == RoutePointType.SalePoint)
     {
         pointTypeHeader.Text = currentPoint.Point.Order.SalepointName;
         pointAddress.Text    = string.Concat(currentPoint.Point.Order.SalepointCity, ", ", currentPoint.Point.Order.SalepointAddress);
     }
     else if (currentPoint.Point.Type == RoutePointType.EndPoint)
     {
         pointTypeHeader.Text = service.GetString(Resource.String.endpoint_display_name);
         pointAddress.Text    = string.Concat(currentPoint.Point.Order.DestinationCity, ", ", currentPoint.Point.Order.DestinationAddress);
     }
 }