Silverlight Confirm Dialog to Pause Thread
- by AlishahNovin
I'm trying to do a confirmation dialog using Silverlight's ChildWindow object.
Ideally, I'd like it to work like MessageBox.Show(), where the entire application halts until an input is received from the user.
For example:
for(int i=0;i<5;i++) {
if (i==3 && MessageBox.Show("Exit early?", "Iterator", MessageBoxButton.OKCancel) ==…