1 / 28

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

Introduction to the Visual Studio .NET IDE (LAB 1 ). Chapter Outline. Install Visual studio 2008 Visual Studio Environment Menu Bar and Toolbar Visual Studio .NET IDE Windows Solution Explorer Toolbox Properties Window Using Help. Install Visual Studio IDE.

celina
Download Presentation

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

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

  3. Install Visual Studio IDE • Download Visual studio IDE from the internet. • 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 project type Select programming language in our case (visual C#) 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

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

  15. 1- Menu Bar and toolbar

  16. 1- 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.

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

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

  19. 3- Properties Cont We called this properties label1

  20. 3- Properties Cont We called this properties of button1

  21. Button properties

  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 : 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. ToolBox : contains controls used to customize forms. Properties Window : displays the properties for a form or a control. Conclusion

  28. Any Question?

More Related