コード例 #1
0
ファイル: frmMDI.cs プロジェクト: OCT15/TCM-CSharp
 private void HandleFormLoad(object sender, EventArgs e)
 {
     this.Hide();
     Thread thread = new Thread(new ThreadStart(this.ShowSplashScreen));
     thread.Start();
     ClasseSplash worker = new ClasseSplash();
     worker.ProgressChanged += (o, ex) =>
     {
         this.frmSplash.UpdateProgress(ex.Progress);
     };
     worker.HardWorkDone += (o, ex) =>
         {
             done = true;
             this.Show();
         };
     worker.DoHardWork();
 }