Ejemplo n.º 1
0
 private void FindRoute()
 {
     Route route = new Route(Address);
     setDeliveryBoy();
     printShortestRoute(new NearestNeighbour(this).FindShortestRoute(Address));
     RouteTimer.Stop();
     Timer.Stop();
 }
Ejemplo n.º 2
0
 private void button3_Click(object sender, EventArgs e)
 {
     Address = new ArrayList();
     Input.Text = null;
     output.Text = null;
     Distance.Text = null;
     Cost.Text = null;
     Time.Text = null;
     DBoy.Text = null;
     interval = 0;
     Timer.Stop();
     second.Text = "0";
     RouteTimer.Stop();
 }
Ejemplo n.º 3
0
 private void button8_Click(object sender, EventArgs e)
 {
     Timer.Stop();
     RouteTimer.Stop();
 }