110,545
社区成员
发帖
与我相关
我的任务
分享
private void button3_Click(object sender, EventArgs e)
{
//try
//{
pictureBox1.Visible = true; //这里显示不出来
button3.Enabled = false;
System.Threading.Thread.Sleep(200);
System.Threading.Thread th = new System.Threading.Thread(ttt);
th.Start();
//pictureBox1.Visible = false;
button3.Enabled = true;
button3.Text = x.ToString();
pictureBox1.Visible = false;
//}
//catch()
//{}
//finally
//{}
}
private void ttt()
{
string str = "";
for (double i = 0; i < 999999999999; i++)
{
x += i;
str += i.ToString();
}
}
private void button3_Click(object sender, EventArgs e)
{
//try
//{
pictureBox1.Visible = true; //这里显示不出来
System.Threading.Thread.Sleep(200);
Thread th = new Thread(delegate()
{
ttt();
});
th.Start();
//pictureBox1.Visible = false;
//}
//catch()
//{}
//finally
//{}
}
private void ttt()
{
button3.Enabled = false;
string str = "";
for (double i = 0; i < 999999999999; i++)
{
x += i;
str += i.ToString();
}
button3.Enabled = true;
button3.Text = x.ToString();
pictureBox1.Visible = false;
}
private void button3_Click(object sender, EventArgs e)
{
//try
//{
pictureBox1.Visible = true; //这里显示不出来
System.Threading.Thread.Sleep(200);
Thread th = new Thread(delegate()
{
ttt();
});
th.Start();
//pictureBox1.Visible = false;
//}
//catch()
//{}
//finally
//{}
}
private void ttt()
{
button3.Enabled = false;
string str = "";
for (double i = 0; i < 999999999999; i++)
{
x += i;
str += i.ToString();
}
button3.Enabled = true;
button3.Text = x.ToString();
pictureBox1.Visible = false;
}