Shows an infromation dialog to the user. - CSharp System.Windows.Forms

CSharp examples for System.Windows.Forms:Dialog

Description

Shows an infromation dialog to the user.

Demo Code


using System.Windows.Forms;
using System.Collections.Generic;
using System.Text;
using System.IO;//from  w w  w . j av a2 s . c om
using System;

public class Main{
        /// <summary>
        /// Shows an infromation dialog to the user.
        /// </summary>
        public static void ShowInformation(String message)
        {
            MessageBox.Show(message, " Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
}

Related Tutorials