Close button in MessageBox

How do I get a "Close" button in MessageBox?
In this;
            MessageBox.Show("My text", "My C# Experiment", MessageBoxButtons.OK);
The button is "OK", but I would like "Close:
Who is Participating?
Kyle AbrahamsConnect With a Mentor Senior .Net DeveloperCommented:
You can't just override.  What you can do is create your own form which similiarly does the same thing and then call as ShowDialog.
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
a long time ago, I wrote an article on building a custom messagebox:
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.

All Courses

From novice to tech pro — start learning today.