Пример #1
0
        protected override FrameworkElement CreateOrderElement(object orderOrStop)
        {
            Debug.Assert(orderOrStop != null);

            // Create order sheet image.
            return(AdornHelpers.CreateCustomOrderSymbol(orderOrStop));
        }
Пример #2
0
 protected override FrameworkElement CreateOrderElement(object orderOrStop)
 {
     if (orderOrStop is Stop && App.Current.MapDisplay.LabelingEnabled)
     {
         return(AdornHelpers.CreateLabelSequenceSymbol(orderOrStop as Stop));
     }
     else
     {
         return(AdornHelpers.CreateCustomOrderSymbol(orderOrStop));
     }
 }