日期:2014-05-17 浏览次数:20880 次
public FormA()
{
InitializeComponent();
ShowFormB();
}
public void ShowFormB()
{
this.Show();
long startTime = Environment.TickCount;
while (Environment.TickCount-startTime<30*1000)
{
Application.DoEvents();
}
FormB fb = new FormB();
fb.Show();
}