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?
How To Create Windows Based Project In Visual Studio
- Open Visual Studio.
- Click on File from the menu.
- In the menu option click on New Project…
- A popup window appears.
Different Sections Of Visual Studio
- Toolbox → You can drag and drop different controls on the form.
- Form → Single unit of the application. An application may consists of multiple forms.
- Solution explorer → Lists all the projects inside the current application. It also lists different files present inside the project(s).
- 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
Adding Controls On Form
Click to Enlarge
- Left click on the control.
- Hold the left click
- Move the cursor on the form.
- Release the mouse.
Click to Enlarge
Run The Program
Click to Enlarge
Output
Click to Enlarge