Ejemplo n.º 1
0
        private void отрисоватьДеревоToolStripMenuItem_Click(object sender, EventArgs e)
        {
            pictureBox1.Refresh();
            int max_lvl = 0;

            main_tree.FindLvlDeep(main_tree.root, ref max_lvl);
            List <int> weigthC = new List <int>();

            for (int i = 0; i <= max_lvl; i++)
            {
                weigthC.Add(0);
            }
            main_tree.GoToPick(main_tree.root, ref weigthC);
        }