Click here to Skip to main content
15,885,216 members
Articles / Desktop Programming / Windows Forms

How to Make MessageBoxes Center on their Parent Forms

Rate me:
Please Sign up or sign in to vote.
4.87/5 (33 votes)
17 Feb 2010CPOL4 min read 143K   3.2K   72  
Make MessageBoxes center on their parent forms
This article presents a simple mechanism for implementing MessageBoxes that appear centered on their parent.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
I can type "while" and "for" very quickly

Comments and Discussions