Title: Introduction to the Visual Studio .NET IDE
1 Introduction to the Visual Studio .NET
IDE (LAB 1 )
2Chapter Outline
- Install Visual studio 2008
- Visual Studio Environment
- Menu Bar and Toolbar
- Visual Studio .NET IDE Windows
- Solution Explorer
- Toolbox
- Properties Window
- Using Help
-
3Install Visual Studio IDE
- Download Visual studio IDE from the internet.
- Opening Setup.exe
1- double click Install Visual Studio 2008.
4Install Visual Studio IDE Cont.
2- Review and accept license terms.
3- confirm that the Registration key and computer
name are entered correctly. Click Next.
5Install Visual Studio IDE Cont.
4- Select the Custom radio button, and then
ensure that the Product installation path is
optimal. Then Click Next
6Install Visual Studio IDE Cont.
5- Make sure C is checked, and ensure that you
have enough space on your computer to complete
the install. Then Click install.
7Install Visual Studio IDE Cont.
Visual Studio 2008 will begin its installation on
your computer!
8Visual studio Environment
9 Overview of the VS.NET IDE
- Single IDE for all Languages.
- Server Explorer
- Event Viewer, Message Queues, Services
- SQL Databases, Data Connection, Etc.
- Integrated IE Browser
- HTML/XML Editors
- Dynamic Help
- Common Forms Editor
- VB.NET, C, and C
- ..
10Overview of the VS.NET IDE
- User creates a new project in Visual Studio
- A solution and a folder are created at the same
time with the same name as the project - The project belongs to the solution
- Multiple projects can be included in a solution
- Solution
- Contains several folders that define an
applications structure - Solution files have a file suffix of .sln
- Project contains files for a part of the
solution - Project file is used to create an executable
application - Every project has a type (Console, Windows, etc.)
- Every project has an entry point A Sub
procedure named Main or a Form
11Recent Projects
Getting start (Help)
Compilation error and warning
12Create New project
Select project type
Select programming language in our case (visual
C)
Project name and there location
13 Overview of the Visual Studio .NET IDE
- By default, the Visual Studio .NET IDE assigns
the name WindowsApplication1 to the new project
and solution. - The Visual Studio Projects folder in the My
Documents folder is the default folder referenced
when Visual Studio .NET is executed for the first
time. - Programmers can change both the name of the
project and the location where it is created.
141- Menu Bar and toolbar
4- Solution explorer
2- Tool Box
3- Properties
151- Menu Bar and toolbar
161- Menu Bar and toolbar
- The IDE provides windows for accessing project
files and customizing controls. - These windows can be accessed via the toolbar
icons or by selecting the name of the desired
window in the View menu.
172- Toolbox
The Toolbox window contains controls used to
customize forms. Programmers can drag and drop
controls onto the form.
183- Properties
The Properties window displays the properties for
a form or control. Properties specify information
such as size, color and position.
Properties
Properties Value
193- Properties Cont
We called this properties label1
203- Properties Cont
We called this properties of button1
21Button properties
Effect Property Property
Text
BackColor
Font
Location
Size
224- The solution explorer
23Execute Program
- You can execute program using toolbar icon
- When Visual Studio .NET begins execution, the
Start Page displays
24 Using Help
The Help menu contains a variety of commands,
which are summarized in the following table.
25 Using Help Dynamic Help
26Conclusion
- In C .NET the code you create is organized
using different layers of grouping - Solutions contain one or more projects.
- Projects contain more than one file.
- Files.
27Conclusion
- Solution Explorer provides access to all the
files in a solution. - ToolBox contains controls used to customize
forms. - Properties Window displays the properties for a
form or a control.
28Any Question?