First Message Program..


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace msg
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
 MessageBox.Show("hi this is msg","HI");

 MessageBox.Show("Incorrect User ID/Password");
 MessageBox.Show("Incorrect User ID/Password","Authentication");
DialogResult d= MessageBox.Show("Incorrect User ID/Password","Authentication",MessageBoxButtons.OKCancel);
DialogResult d = MessageBox.Show("Incorrect User ID/Password", "Authentication", MessageBoxButtons.OKCancel,MessageBoxIcon.Warning);

        }
    }
}

Comments

Popular posts from this blog

C# Connectivity with MySql Server..