Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //Random rd = new Random();
            //long xd = 0;
            //for (int i = 0; i < 111111111; i++)
            //{

            //    int x = rd.Next(10000);
            //    //Console.WriteLine(i + "  " + x);
            //    xd += x;
            //}
            //Console.WriteLine(xd);


            count = 0;
            treeNode tmpNode = new treeNode();

            tmpNode.xvalue = 100000;



            generateChildNodes(tmpNode, new Random());

            //tmpNode.printself();
            Console.WriteLine("+++++++++++++++++=" + tmpNode.calculateSelf());
        }