DialogHost close automatically after asynchronous call #2743
Closed
DSBRBrasil
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys !
I've searched about how to close automatically this control and I couldn't see anything about this, and than I want to explain my approach.
step 1: create a user control
step 2: in code-behind we need this code
step 3: add dialoghost control in mainwindow
step 4: add code behind in mainwindow
And than Voila!
After 5 seconds
and this last windows close automatically
Beta Was this translation helpful? Give feedback.
All reactions