private void antsToolStripMenuItem_Click(object sender, EventArgs e) { ExportLocal(); acs = new ACSAlgorithm(); acs.StartPosition = FormStartPosition.CenterParent; acs.ShowDialog(); gmaps Gmaps; if (acs.RunForDistances) { if (acs.Capacitated) { Gmaps = new gmaps(acs.BestList, acs.Destinations, true, true); Gmaps.ShowDialog(); } else { Gmaps = new gmaps(acs.Optimal, acs.Destinations, true, false); Gmaps.ShowDialog(); } } }
private void implementGoogleMapsToolStripMenuItem_Click(object sender, EventArgs e) { gmaps maps = new gmaps(); maps.ShowDialog(); }