<p>I have an MDI application. When I show a message box using MessageBox.Show(), the entire application disappears behind all of my open windows when I dismiss the message box.</p>

<p>The code is not doing anything special. In fact, here is the line that invokes the message box from within an MDI Child form:</p>

<pre><code>MessageBox.Show(String.Format("{0} saved successfully.", Me.BusinessUnitTypeName), "Save Successful", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
</code></pre>

<p>Me.BusinessUnitTypeName() is a read only property getter that returns a string, depending upon the value of a member variable. There are no side effects in this property.</p>

<p>Any ideas?</p>

Remove the
```
MessageBoxOptions.DefaultDesktopOnly
```
parameter and it will work correctly.
```
DefaultDesktopOnly
```
specifies that "
The message box is displayed on the active desktop
" which causes the focus loss.