Information message box : MessageBox « GUI Windows Form « C# / C Sharp






Information message box

Information message box
/*
C# Programming Tips & Techniques
by Charles Wright, Kris Jamsa

Publisher: Osborne/McGraw-Hill (December 28, 2001)
ISBN: 0072193794
*/
namespace nsFirst
{
    using System;
    public class FormsMessageBox
    {
        static public void Main()
        {
            System.Windows.Forms.MessageBox.Show ("Hello, C# World!", "Howdy",
                       System.Windows.Forms.MessageBoxButtons.OK,
                       System.Windows.Forms.MessageBoxIcon.Information);
        }
    }
}


           
       








Related examples in the same category

1.Yes No Cancel
2.Display Question messagebox and check its resultDisplay Question messagebox and check its result
3.MessageBox OptionsMessageBox Options
4.MessageBox with OK button and information iconMessageBox with OK button and information icon
5.Message box builderMessage box builder
6.A message boxA message box