CSharp examples for System.Windows.Forms:Dialog
Shows an infromation dialog to the user.
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); } }