private void FindRoute() { Route route = new Route(Address); setDeliveryBoy(); printShortestRoute(new NearestNeighbour(this).FindShortestRoute(Address)); RouteTimer.Stop(); Timer.Stop(); }
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(); }
private void button8_Click(object sender, EventArgs e) { Timer.Stop(); RouteTimer.Stop(); }