示例#1
0
        protected MenuItem SelectMenuItem(IRouteController route)
        {
            var mi = new MenuItem {
                Header = "Select"
            };

            mi.Click += (o, eventArgs) => { route.SelectRoutePoint(RoutePoint); };

            return(mi);
        }
示例#2
0
 public virtual void OnDeselected()
 {
     _mapControl.MouseRightButtonDown -= MapControlOnMouseRightButtonDown;
     RouteController.SelectRoutePoint(null);
 }