Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to the Visual Studio.NET IDE (LAB 1 )

Similar presentations


Presentation on theme: "Introduction to the Visual Studio.NET IDE (LAB 1 )"— Presentation transcript:

1 Introduction to the Visual Studio.NET IDE (LAB 1 )

2 Chapter Outline Install Visual studio 2008 Install Visual studio 2008 Visual Studio Environment Visual Studio Environment Menu Bar and Toolbar Menu Bar and Toolbar Visual Studio.NET IDE Windows Visual Studio.NET IDE Windows Solution Explorer Solution Explorer – Toolbox – Properties Window – Using Help

3 Install Visual Studio IDE Download Visual studio IDE from the internet. Download Visual studio IDE from the internet. Opening Setup.exe Opening Setup.exe 1- double click “Install Visual Studio 2008.”

4 Install Visual Studio IDE Cont. 2- Review and accept license terms. 3- confirm that the Registration key and computer name are entered correctly. Click Next.

5 Install Visual Studio IDE Cont. 4- Select the Custom radio button, and then ensure that the Product installation path is optimal. Then Click Next

6 Install 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.

7 Install Visual Studio IDE Cont. Visual Studio 2008 will begin its installation on your computer!

8 Visual 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# …………..

10 Overview 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 application’s 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

11 Recent Projects Getting start (Help) Compilation error and warning

12 Create New project Select programming language in our case (visual C#) Select project type Project name and there location

13 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. Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE

14 1- Menu Bar and toolbar 2- Tool Box 4- Solution explorer 3- Properties

15 1- Menu Bar and toolbar

16 The IDE provides windows for accessing project files and customizing controls. 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.These windows can be accessed via the toolbar icons or by selecting the name of the desired window in the View menu. 1- Menu Bar and toolbar

17 The Toolbox window contains controls used to customize forms. Programmers can “drag and drop” controls onto the form. 2- Toolbox

18 3- Properties The Properties window displays the properties for a form or control. Properties specify information such as size, color and position. PropertiesProperties Value

19 We called this properties label1 3- Properties Cont

20 We called this properties of button1 3- Properties Cont

21 Button properties EffectProperty Text BackColor Font Location Size

22 4- The solution explorer

23 Execute 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

26 In C#.NET the code you create is organized using different layers of grouping : 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. Conclusion

27 Solution Explorer : provides access to all the files in a solution. Solution Explorer : provides access to all the files in a solution. ToolBox : contains controls used to customize forms. ToolBox : contains controls used to customize forms. Properties Window : displays the properties for a form or a control. Properties Window : displays the properties for a form or a control. Conclusion

28 Any Question?


Download ppt "Introduction to the Visual Studio.NET IDE (LAB 1 )"

Similar presentations


Ads by Google