Visit

Showing posts with label MESSAGE BOX. Show all posts
Showing posts with label MESSAGE BOX. Show all posts

Monday, August 1, 2011

MessageBox Examples in C# WinForms - CSharp WinForms

MessageBox Examples in C# WinForms - CSharp WinForms
1. Default MessageBox with OK button.

MessageBox.Show("Welcome to Csharp-Language.blogspot.com");
2. Default MessageBox with OK button and Title.
 
MessageBox.Show("Welcome to Csharp-Language.blogspot.com","C#Language");
3 .MessageBox with Yes , No , Cancel , Abort ,Retry and Ignore Button

A - MessageBox with Yes and No Button

MessageBox.Show("Do you want to Continue ?","Question",MessageBoxButtons.YesNo);