示例#1
0
        private void RoutingThread(object _plotter)
        {
            RoutePlotter p = (RoutePlotter)_plotter;

            routeSystems = null;    // so its null until route interative finishes

            routeSystems = p.RouteIterative(AppendData);

            this.BeginInvoke(new Action(() => { discoveryform.NewCalculatedRoute(routeSystems); ToggleButtons(true); }));
        }
示例#2
0
        private void RoutingThread(object _plotter)
        {
            RoutePlotter p = (RoutePlotter)_plotter;

            routeSystems = null;    // so its null until route interative finishes

            routeSystems = p.RouteIterative(AppendData);

            this.BeginInvoke(new Action(() =>
            {
                discoveryform.NewCalculatedRoute(routeSystems);
                cmd3DMap.Enabled     = true;
                button_Route.Text    = "Find Route".Tx(this, "button_Route");
                button_Route.Enabled = true;
            }));
        }