Reputation:
Is it possible to switch or activate other windows when modal window is open?
Window1 window = new Window1();
window.ShowDialog();
Upvotes: 0
Views: 1777
Reputation: 117
I don't think it's possible to set the control back to parent form from a modal window(That's the point of using Modal Window). You can use non modal window.
window.Show();
If you use window.Activate();
it will not show the form.
Upvotes: 1
Reputation: 294
If I understood you correctly you can do something like the following:
Window1 window = new Window1();
window.Activate();
This will activate window and bring it to the foreground.
Upvotes: 1