troubleshooting Question

Display parent screen when child has messagebox

Avatar of BlearyEye
BlearyEyeFlag for United States of America asked on
.NET ProgrammingC#
12 Comments1 Solution761 ViewsLast Modified:
The sample I've uploaded has a form Parent that launches one Child. The Child's parent is set to Parent. Clicking the Child button triggers a MessageBox.Show.

There's a thread that moves Parent to back and then to front at 2 second intervals. This works fine so long as there is no MessageBox. If you display a message box (by clicking the button on Child), it goes to back and stays there.

How can I make Parent (and Child) come and go as desired if there's a message box? I'm using C# 4.0
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros