Example #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            AlgoritmoDijkstra frm2 = new AlgoritmoDijkstra();

            AlgoritmoDijkstra.posVertice = posVertice;
            AlgoritmoDijkstra.posArista  = posArista;
            frm2.Show();
            this.Hide();
        }
Example #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            Program.aristas = new Arista[posArista];
            for (int i = 0; i < posArista; i++)
            {
                Program.aristas[i] = this.aristas[i];
            }
            AlgoritmoDijkstra frm2 = new AlgoritmoDijkstra();

            AlgoritmoDijkstra.posVertice = posVertice;
            AlgoritmoDijkstra.posArista  = posArista;
            frm2.Show();
            this.Hide();
        }