I am beginner in C# window Application I am show a Messagebox using MessageBox.Show("Pass Any String") this code of line only show a message box with Ok button but I want to show Yes or No button in Message box please anybody help for resolving this problem.
Thanx in Advanced!
You can use below line of code for showing Yes or No button in a message box: -
MessageBox.Show("Pass the message", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);