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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -