Winforms-How can I make MessageBox appear centered on MainForm?

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-04-04T22:44:51Z Indexed on 2010/04/04 22:53 UTC
Read the original article Hit count: 328

Filed under:
|

Hi

Winforms-How can I make dialog boxes appear centered on MainForm? That is as opposed to be based on Normal windows default which renders them in the centre of the screen.

In my case I have a small main form that may for example be positioned in a corner, the the MessageBox popup is displayed what seems a ways away.

© Stack Overflow or respective owner

Related posts about winforms

Related posts about messagebox