小笠原满男,芯片卡与磁条卡区别,周伦玲
public static system.threading.thread thread;
public static ce.about welcomefrm;
[stathread]
static void main()
{
system.threading.threadstart start=new threadstart(ce.cestart.splashform);
thread=new thread(start);
thread.start();
//做要做的事
//运行主程序
system.windows.forms.application.run(new ce.forms.coolmain());
}
static void splashform()
{
ce.cestart.welcomefrm =new about();
ce.cestart.welcomefrm.show();
application.doevents();
ce.cestart.welcomefrm.activate();
thread.join(2000);
ce.cestart.welcomefrm.close();
ce.cestart.thread.abort();
}
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!!
点击进行留言回复
网友评论