MessageBox in C#.NET

MessageBox control displays a message with specified text. A message box may have some additional options including a caption, icon, and help buttons. In this article, I will teach you  how to use the MessageBox class to display messages in Windows Forms and C#.
You can create Messagebox at design time and also you create at run time.

In this artical i will explain how to create Messagebox at a design time and also at a runtime.

Step 1: Open visual studio and create new project using below step (File -> New -> Project) select visual c# template from left panel. and select windows form application from middle panel. and give appropriate name,and path then after press OK. your screen look like below.


Comments

Popular posts from this blog

Create First Windows Form Application

MDI Form Using C#.NET