/// <summary>
        /// Create adornemnt for the case when order is dragged from time view.
        /// </summary>
        /// <param name="ordersAndStops">Stops and orders.</param>
        /// <returns>Adornment.</returns>
        private static IAdornment _CreateGanttViewAdornment(IList <object> ordersAndStops)
        {
            IAdornment adornment;

            if (ordersAndStops.Count == 1) // Single order case.
            {
                object orderOrStop = ordersAndStops[0];
                Debug.Assert(orderOrStop is Stop);
                adornment = new GanttElementAdornment(orderOrStop as Stop);
            }
            else // Multiple order case.
            {
                adornment = new MultiGanttElementAdornment(ordersAndStops);
            }

            return(adornment);
        }
        /// <summary>
        /// Create adornemnt for the case when order is dragged from time view.
        /// </summary>
        /// <param name="ordersAndStops">Stops and orders.</param>
        /// <returns>Adornment.</returns>
        private static IAdornment _CreateGanttViewAdornment(IList<object> ordersAndStops)
        {
            IAdornment adornment;
            if (ordersAndStops.Count == 1) // Single order case.
            {
                object orderOrStop = ordersAndStops[0];
                Debug.Assert(orderOrStop is Stop);
                adornment = new GanttElementAdornment(orderOrStop as Stop);
            }
            else // Multiple order case.
                adornment = new MultiGanttElementAdornment(ordersAndStops);

            return adornment;
        }