MessageBox with OK button and information icon : MessageBox « GUI Windows Form « C# / C Sharp






MessageBox with OK button and information icon

MessageBox with OK button and information icon
using System;
using System.Windows.Forms;
using System.Drawing;

public class DropButton {
  static void Main() {
    MessageBox.Show("You clicked the Drop button", "Button Clicked",
            MessageBoxButtons.OK, 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.Message box builderMessage box builder
5.Information message boxInformation message box
6.A message boxA message box