1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.

Slides:



Advertisements
Similar presentations
Chapter 3 Creating a Business Letter with a Letterhead and Table
Advertisements

Using Macros and Visual Basic for Applications (VBA) with Excel
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
© by Pearson Education, Inc. All Rights Reserved. continued …
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
 2002 Prentice Hall. All rights reserved. Chapter 2 - Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Overview of the Visual Studio.NET.
Chapter 31 Visual Basic Controls A Form is a windows-style screen displayed by Visual Basic programs. In a form, a programmer can create objects in a form.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Learning Microsoft Power Point Getting Started  There are three features that you should remember as you work within PowerPoint 2007: the Microsoft.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
IE 411/511: Visual Programming for Industrial Applications
Chapter 1: An Introduction to Visual Basic 2005 Programming with Microsoft Visual Basic 2005, Third Edition.
 Computer use is increasing in almost every field  Computing costs have been decreasing dramatically due to rapid developments in hardware, software.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
 2009 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2008 IDE.
 2009 Pearson Education, Inc. All rights reserved Dive Into ® Visual C# 2008 Express.
Jozef Goetz,  2006 Pearson Education, Inc. All rights reserved.  2002 Prentice Hall. All rights reserved. expanded by J. Goetz, 2009.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Adobe Flash CS3 Revealed Chapter 3 - WORKING WITH SYMBOLS AND INTERACTIVITY.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 3.1 Test-Driving the Welcome Application 3.2.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Chapter 2 – Introduction to the Visual Studio .NET IDE
1 Creating Windows GUIs with Visual Studio. 2 Creating the Project New Project Visual C++ Projects Windows Forms Application Give the Project a Name and.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 2.1 Test-Driving the Welcome Application 2.2.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
Microsoft Office 2010 is the newest version of Microsoft Office, offering features that provide users with better functionality and easier ways to work.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
 2009 Pearson Education, Inc. All rights reserved. 1 CS1120 Introduction to Windows Forms Applications Many slides modified by Prof. L. Lilien (even many.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
 You won’t write a single line of program code.  Instead, you’ll use visual programming techniques.  Visual Studio processes your actions (such as mouse.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Chapter 2: The Visual Studio .NET Development Environment
Microsoft Access 2007 – Level 2
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
Program and Graphical User Interface Design
3.01 Apply Controls Associated With Visual Studio Form
Introduction to the Visual C# 2005 Express Edition IDE
Program and Graphical User Interface Design
Chapter 2 – Introduction to the Visual Studio .NET IDE
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Presentation transcript:

1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel

2 Visual Studio.NET Integrated Development Environment (IDE) The Start Page Helpful links appear on left side The Getting Started screen Links to recent projects The Open Project and New Project buttons

3 Overview Start Page in Visual Studio.NET. Start Page tab Solution Explorer - empty no open projects New Project button Start Page links Recent Projects listed here Collapsed Toolbox Window

4 Visual Studio.NET IDE New project dialogue C#.NET project Group of related files, images, and documentation C#.NET solution Group of projects creating one or a group of applications Windows Applications Anything that runs in the Windows OS

5 Visual Studio.NET IDE Overview Fig. 2.3 New Project dialog. Visual C# projects folder project name project location description of selected project Visual C# Windows Application (selected)

6 Visual Studio.NET IDE IDE after a new project The form Grey rectangle in window Represents the project’s window Part of the GUI Graphical components for user interaction User can enter data (input) Shows user instructions or results (output) Tabs One tab appears for each open document

7 Visual Studio.NET IDE Overview Active tab Tabs MenuMenu bar Solution Explorer window Form (Windows application) Properties window

8 Menu Bar The menu bar Commands for developing and executing programs To create new projects select: File > New > Project Certain menu options only appear in specific modes

9 Solution Explorer The Solution Explorer Lists all files in the solution Displays the contents or a new project or open file Start up project runs when the program is executed Solution Explorer toolbar The Refresh icon reloads files in the solution The Display icon shows all files, even the hidden ones Icons change based on selected file Solution Explorer Toolbox Properties window

10 Solution Explorer

11 Toolbox Fig Toolbox window. Contains reusable controls To display the Toolbox window, select VIEW > Toolbox. Visual programming allows ‘drag and drop’ of controls to customize the form

12 Toolbox Fig. 2.14Demonstrating window auto-hide. mouse over window name toggle auto hide close button

13 Properties window The Properties window (Fig. 2.18) Manipulate the properties of a form or control Properties can include size, color, text, or position Right column is the property and left is the value Icons arranges the properties alphabetically or by category The Event icon allows reactions to user actions Users alter controls visually without writing code

14 Properties Window

15 Simple Program: Displaying Text and an Image The program Form to hold other controls Label to display text PictureBox to display a picture No code needed to create this program Fig. 2.20Simple program as it executes. Label control PictureBox control

16 Simple Program: Create the new program Creating a new Windows application. Project name Project location Click to change project location Project type Create a new project Make the project a windows application Name it: ASimpleProject and sets its location

17 Simple Program: Displaying Text and an Image Fig. 2.22Setting the form’s Text property. The Text property determines the text in the title bar

18 Simple Program: Resizing the form Form with sizing handles. grid Enabled sizing handle Disabled sizing handle Title bar

19 Simple Program: Selecting color Changing property BackColor. Down arrow Current color Custom palette

20 Simple Program: Change the form’s color and add a label Adding a new label to the form. New background color

21 Simple Program: Set the label’s text Label in position with its Text property set. Label centered with updated Text property Text property used to set the text of a label Label can be dragged to desired location Or Format > Center In Form > Horizontal can also be used to position the label as in in this example

22 Simple Program: Set the label’s font size and align text Properties window displaying the label’s properties. The Font property changes the label’s text The TextAlign property to align the text

23 Simple Program: Adding a picture box Inserting and aligning the picture box. Picture boxes are used to display pictures Drag the picture box onto the form Updated Labe l PictureBox

24 Simple Program: Inserting an Image Fig Image property of the picture box. Insert an image The Image property sets the image that appears Pictures should be of type.gif,.jpeg, or.png

25 Simple Program: Selecting the Image Fig. 2.34Selecting an image for the picture box.

26 Simple Program: Resizing the Image Newly inserted image (after setting SizeMode property to S t retchImage ) The picture box is resizable to fit the entire image | PictureBox displaying an image.

27 Simple Program: Saving and Running Save the project In the Solution Explorer select File > Save Using Save All will save the source code and the project Run the project In run mode several IDE features are disabled Click Build Solution in the Build menu to compile the solution Click Debug in the Start menu or press the F5 key

28 Running the Program Design form

29 Simple Program: Terminating the program Click the close button ( x in the top right corner) Or click the End button in the toolbar