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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -