• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

Message box button on center

I am using c# windows forms . How do I move the message box button to the center of the window ?
Varshini S
Varshini S
3 Solutions
Éric MoreauSenior .Net ConsultantCommented:
you will have to build your own. take a look at http://emoreau.com/Entries/Articles/2006/01/A-custom-MessageBox.aspx
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:

You can not do this.

Library for Message box is written in such manner that, command buttons will be aligned in Right. However you can add buttons which are provided by MessageBoxButtons options maximum upto 3 buttons.

You can always build your own with your own design.
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:

I would suggest you to use Krypton MessageBox.

And that is free to be used for commercial purposes too.

You can check link: Component Factory (Kypton Controls)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now