Maha

Maha

  • NA
  • 0
  • 308.2k

MessageBoxDefaultButton.Button3

Sep 18 2014 9:38 AM
I wish to know the significant of "MessageBoxDefaultButton.Button3", because without this button following program is giving the same result. Problem is highlighted.

using System;
using System.Windows.Forms;

public class MessageBoxExperiment
{
public static void Main()
{
string message = "This is message ";
string caption = "Message box experiment";
int count = 1;

MessageBox.Show(message + count, caption, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Information,
MessageBoxDefaultButton.Button3);
}
}


Answers (2)