嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在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;