基本信息
源码名称:猜数游戏
源码大小:0.03M
文件格式:.rar
开发语言:C#
更新时间:2020-06-11
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

RemoveControls();
            int p_int_x = 10;
            int p_int_y = 60;
            for (int i = 0; i < 100; i )
            {
                Button bt = new Button();
                bt.Text = (i 1).ToString();
                bt.Name = (i 1).ToString();
                bt.Width = 35;
                bt.Height = 35;
                bt.Location = new Point(p_int_x, p_int_y);
                bt.Click =new EventHandler(bt_Click);
                p_int_x = 36;
                if ((i 1)%10 == 0)
                {
                    p_int_x = 10;
                    p_int_y = 36;
                }
                Controls.Add(bt);
            }
            G_th = new System.Threading.Thread(delegate()
            {
                int P_int_count = 0;
                while (countime) 
                {
                    P_int_count = P_int_count > 100000000 ? 0 : P_int_count;
                    this.Invoke(
                        (MethodInvoker)delegate 
                        {
                            textBox1.Text = P_int_count.ToString();
                        }
                        );
                    System.Threading.Thread.Sleep(1000);
                }
            });
            G_th.IsBackground = true;
            G_th.Start();
            G_int_num = 20;//G_random.Next(1,100);
            button1.Enabled = false;