110,568
社区成员
发帖
与我相关
我的任务
分享
private void button1_Click(object sender, EventArgs e)
{
fortest test = new fortest(NewMethod);
test.Invoke();
//NewMethod();
}
private static void NewMethod()
{
string aa = "";
for (int i = 0; i < 200; i++)
{
if (i == 198)
{
aa = "123";
MessageBox.Show(aa);
}
}
}