Click here to Skip to main content
Click here to Skip to main content

Easy Desktop Web Stats

By , 23 Oct 2012
 
using System.Windows.Forms;

namespace MessageManager
{
    public static class Dialog
    {       
        public static DialogResult Message(string Title,
                                           string Message,
                                           MessageBoxButtons Buttons,
                                           MessageBoxIcon Icon)
        {
            string title = Title;
            string message = Message;
            MessageBoxButtons buttons = Buttons;
            MessageBoxIcon icon = Icon;
            DialogResult result;
            result = MessageBox.Show(message, title, buttons, icon);
            return result;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

About the Author

Michael J Hill - OH
United States United States
Member
No Biography provided

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 23 Oct 2012
Article Copyright 2012 by Michael J Hill - OH
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid