Я работаю на C #. Я хочу создать настольное (не веб) приложение на c #. Мне нужно всплывающее окно, например, как web. Когда появляется всплывающее окно, пользователь не может получить доступ к какому-либо элементу управления, как свойство панели веб-загрузки MODEL = true . Мой рабочий процесс приложения:
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;
}