C
C#2y ago
Wicked Cat

✅ Opening a new WPF window stops code from running until it closes

Hello, so I'm having an issue when I invoke OnChallengeInitiated (or any event), it's subscribed to ChallengeWindowControl. If the challengeWindow goes from hidden to visible then the code after the invoking doesn't run until the window is closed.
2 Replies
Pobiega
Pobiega2y ago
thats literally what ShowDialog does if you don't what that, use .Show() instead
Wicked Cat
Wicked CatOP2y ago
ahhhhhh I had no idea. Thank you

Did you find this page helpful?