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
Post a Comment