TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Display Messagebox with Parameters
Karthick Siva
May 20
2016
Code
1.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
First show a single - argument dialog box with MessageBox.Show
Messagebox.show(
".Net is awesome"
)
Show a two - argument dialog box with MessageBox.Show.
Messagebox.show(
".Net is awesome"
,
"Important "
)
Use a three - argument dialog box with MessageBox.Show.
MessageBox.Show(
".Net is awesome"
,
"Important"
, MessageBoxButtons.OKCancel)
Use four parameters with MessageBox.Show.
MessageBox.Show(
".Net is awesome"
,
"Information"
, MessageBoxButtons.OKCancel, MessageBoxIcon.Warning)
Use five arguments with MessageBox.Show.
MessageBox.Show(
".Net is awesome"
,
"Important"
, MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2)
MessageBox.Show