/// <summary>
        /// Creates instance of ScheduleViewsEditingManager, initializes local field _multipleListViewManager
        /// and adds handler to ListViewsCollectionChanged event. 
        /// </summary>
        /// <param name="optimizeAndEditPage">OptimizeAndEditPage.</param>
        public ScheduleViewsEditingManager(OptimizeAndEditPage optimizeAndEditPage)
        {
            _ordersView = optimizeAndEditPage.OrdersView;
            _AddEditingEventHandlers(_ordersView);

            _routesView = optimizeAndEditPage.RoutesView;
            _AddEditingEventHandlers(_routesView);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="optimizeAndEditPage">Parent page.</param>
        /// <param name="timeView">Time view.</param>
        public SelectionManager(OptimizeAndEditPage optimizeAndEditPage)
        {
            _optimizeAndEditPage = optimizeAndEditPage;
            _timeView = optimizeAndEditPage.TimeView;
            _mapView = optimizeAndEditPage.MapView;
            _ordersView = optimizeAndEditPage.OrdersView;
            _routesView = optimizeAndEditPage.RoutesView;

            // Set callback for checking selection possibility.
            _mapView.mapCtrl.CanSelectCallback = _CanSelect;

            _CreateCollectionsInMultiCollectionBinding();

            _InitEventHandlers();

            _selectionChanger = new SelectionChanger(_optimizeAndEditPage);
        }