2010-12-19 6 views
0

나는 C#에서 데스크톱 (웹이 아님) 응용 프로그램을 만들고 싶습니다 .C 웹에서와 같은 팝업 창이 필요합니다. 팝업 창이 나타나면 사용자가 액세스 할 수없는 것처럼 보입니다. 웹 로딩 패널 특성 모델과 같은 컨트롤은 = 사실 누군 데 응용 프로그램의 작업 흐름은 다음과 같습니다데스크탑 응용 프로그램에서 팝업 진행률 표시 줄을 만드는 방법

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을 사용할 수있는 형태입니다.

관련 문제