2010-12-19 9 views
0

私はC#でデスクトップ(ウェブではない)アプリケーションを作成したいと思います.Webのようなポップアップウィンドウが必要です。ポップアップウィンドウが表示されたら、ユーザーはアクセスできませんウェブローディングパネルプロパティモデルのような制御は=真 .MYアプリケーションの作業の流れは次のとおりです。デスクトップアプリケーションでポップアッププログレスバーを作成する方法

Popup appear 
Event Start 
    Event Complete 
    Popup close 
Then Perform rest of the application 

private void timer1_Tick(object sender, EventArgs e) 
     {    
if (progressBar1.Value >= 200) 
      { 
       progressBar1.Value = 0; 
       GetAllData();//When this Method active .Progress bar show it's //progressing.After complete the work progressbar will hide.How can i measure how much //time does the computer needs to complete this method work. 
       timer1.Stop(); 
      } 
      progressBar1.Value += 20; 
} 

答えて

1

と仮定すると、あなたのポップアップが、フォームのモーダルを作るためにShowDialogの代わりShowを使用することができるフォームです。

関連する問題