Articles → .NET → Introduction To Windows Forms Using Visual Studio

Introduction To Windows Forms Using Visual Studio






Software Requirement





Prerequisite Knowledge





What Is A Windows Application?







What Is Windows Form?





What Is Visual Studio?




Picture showing the visual studio IDE for creating applications



How To Create Windows Based Project In Visual Studio




  1. Open Visual Studio.
  2. Click on File from the menu.
  3. In the menu option click on New Project…
  4. A popup window appears.
  5. Picture showing the New Project menu for creating a new project in visual studio







Different Sections Of Visual Studio


Picture showing the different sections of the visual studio IDE




  1. Toolbox → You can drag and drop different controls on the form.
  2. Form → Single unit of the application. An application may consists of multiple forms.
  3. Solution explorer → Lists all the projects inside the current application. It also lists different files present inside the project(s).
  4. Property window → List the properties of the form and its contents. In the above figure the property window shows the properties of form.

WYSIWYG View





Design View




Picture showing the design view of the windows form in visual studio



Adding Controls On Form




Picture showing the different categories of controls in the toolbar




  1. Left click on the control.
  2. Hold the left click
  3. Move the cursor on the form.
  4. Release the mouse.
  5. Picture showing how to drag and drop the tool in visual studio



Run The Program




Picture showing the run icon in the visual studio



Output


Picture showing your first windows forms program using visual studio



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, February 2, 2012

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250