17,740
社区成员
发帖
与我相关
我的任务
分享
private delegate void setm(string s);
private delegate void unsetm();
private void startForm3()
{
this.busy = new Form3();
}
private void setMsg(string msg)
{
this.busy.Msg = msg;
this.busy.Visible = true;
}
private void unsetMsg()
{
this.busy.Visible = false;
}
private void showMsg(string msg)
{
setm s = new setm(this.setMsg);
s(msg);
}
private void clearMsg()
{
unsetm u = new unsetm(this.unsetMsg);
u();
}
public Do()
{
Application.DoEvents();
Form3 busy = new Form3();
Thread t = new Thread(new ThreadStart(this.startForm3));
t.Start();
。。。。。。