Esempio n. 1
0
 //系统初始化过程
 public void SystemInitialize()
 {
     mre.WaitOne();
     for (int i = 0; i < 100; i++)
     {
         splash.Invoke(splash.ShowProgress, new object[] { Convert.ToString(i) });
         Thread.Sleep(200);
     }
     //初始化完成,关闭启动屏幕
     splash.BeginInvoke(splash.CloseSplash);
 }