c# - How to execute the code after ShowDialog() in Winforms? -


i have used showdialog() in winforms show screen , after showdialog() have written timer event. when close dialog box,the timer event gets called unless not getting executed.

could please me explaining scenario.

showdialog() synchronous. code after showdialog() not executed until dialog closed. evaluate dialogresult dialog after.

to solve problem execute things in parallel open dialog, you'd need start timer before showdialog() or use threading/backgroundworker.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -