.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Post New Resource Bookmark and Share   

display 3 msg boxes

Posted By:Maharaja       Posted Date: September 26, 2011    Points: 40    Category:    URL: http://www.dotnetspark.com  

1st create 3 buttons and then write code for showig message boxes

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 msgbox2
    public partial class Form1 : Form
        public Form1()

        private void button1_Click(object sender, EventArgs e)
            MessageBox.Show("Hi i am Maharaja");

        private void button2_Click(object sender, EventArgs e)
            MessageBox.Show("III year MCA");

        private void button3_Click(object sender, EventArgs e)
            MessageBox.Show("After that i go to my father way" );


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend