When this application runs, a message box appears with a welcome message.
Now we will add code to display Message box
On Window Form double click on the button. Following is an image of code view:
For Visual C#, the event handler should look like this:
For Visual C#, enter the following message box code: