Introduction to the Visual Studio.NET Integrated Development Environment IDE. CSC 211 Intermediate Programming

Similar documents
Dive Into Visual C# 2008 Express

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Programming in C# Project 1:

Tutorial 3 - Welcome Application

Introductionto the Visual Basic Express 2008 IDE

Dive Into Visual C# 2010 Express

Program and Graphical User Interface Design

GraphWorX64 Productivity Tips

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.

Word Processing. 2 Monroe County Library System

Creating a PowerPoint Presentation

Microsoft Excel 2010 Basic

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

Guide to WB Annotations

Lesson 4 - Creating a Text Document Using WordPad

Reference Services Division Presents WORD Introductory Class

Excel 2003 Tutorial II

FastTrack Schedule 10. Tutorials. Copyright 2010, AEC Software, Inc. All rights reserved.

Introduction to Word 2010

Anatomy of a Window (Windows 7, Office 2010)

Multimedia web page Board

Overview of Adobe Fireworks

Creating & Modifying Tables in Word 2003

WEEK NO. 12 MICROSOFT EXCEL 2007

Microsoft. An Introduction

Severe Weather Safety PSA

PA Payroll Exercise for Intermediate Excel

Microsoft Windows 7 - Illustrated Unit A: Introducing Windows 7

Work with RSS Feeds. Procedures. Add an RSS Text Object CHAPTER. Procedures, page 7-1

Formatting, Saving and Printing in Word 2013

Introduction to Microsoft Excel

Status Bar: Right click on the Status Bar to add or remove features.

For detailed instructions, click the links below. To ask questions, request features, or report problems, visit feedback.photoshop.com.

Getting Started. Microsoft QUICK Source 7

LESSON A. The Splash Screen Application

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

2. In the Start and End Dates section, use the Calendar icon to change the Displayed Start Date to 1/1/2015 and the Displayed End Date to 5/31/2015.

Access 2003 Introduction to Report Design

Text Box Frames. Format Text Box

Sema Foundation ICT Department. Lesson - 18

Overview of the Adobe Dreamweaver CS5 workspace

Basic Concepts 1. Starting Powerpoint 2000 (Windows) For the Basics workshop, select Template. For this workshop, select Artsy

Word 2013 Quick Start Guide

Start menu. Toggles between All Programs & Back

Microsoft Word Basic Editing. Lesson , John Wiley & Sons, Inc. Microsoft Official Academic Course, Microsoft Word

You can link completely different files into one by adopting a file to one or more of your topics.

SPARK. User Manual Ver ITLAQ Technologies

You might think of Windows XP as a set of cool accessories, such as

Practice Exercises for Introduction to Excel

Press the Plus + key to zoom in. Press the Minus - key to zoom out. Scroll the mouse wheel away from you to zoom in; towards you to zoom out.

MICROSOFT WORD 2010 BASICS

Lesson 1: Getting Started with

Getting Started with OneNote 2016

MS Word 2010 An Introduction

BASIC MICROSOFT POWERPOINT

Excel 2016 Basics for Mac

Create a Scrapbook Page

Budget Exercise for Intermediate Excel

LESSON B. The Toolbox Window

1) Merge the cells that contain the title and center the title

Getting Started with Access

FrontPage. Directions & Reference

Working with PDF s. To open a recent file on the Start screen, double click on the file name.

WINDOWS NT BASICS

Changing Worksheet Views

4) Study the section of a worksheet in the image below. What is the cell address of the cell containing the word "Qtr3"?

button Double-click any tab on the Ribbon to minimize it. To expand, click the Expand the Ribbon button

Customizing FlipCharts Promethean Module 2 (ActivInspire)

Excel 2016 Basics for Windows

Word - Basics. Course Description. Getting Started. Objectives. Editing a Document. Proofing a Document. Formatting Characters. Formatting Paragraphs

How to use the Acrobat interface and basic navigation

Table of Contents Lesson 1: Introduction to the New Interface... 2 Lesson 2: Prepare to Work with Office

Microsoft Outlook 2011: Getting Started

Nauticom NetEditor: A How-to Guide

Forms/Distribution Acrobat X Professional. Using the Forms Wizard

Excel 2007 New Features Table of Contents

Setup Examples. RTPView Project Program

Microsoft Word Introduction to Word Processors

Lesson 1: Exploring Excel Return to the Excel 2007 web page

Using SymPrint to Make Overlays, Templates & More...

2 The Stata user interface

Exploring Microsoft Office Word 2007

INFORMATION TECHNOLOGY

Computer Essentials Session 1 Lesson Plan

How to Get Started. Figure 3

Microsoft How to Series

Customize the Navigation Pane

ORGANIZING YOUR ARTWORK WITH LAYERS

KODAK Software User s Guide. Software Version 9.0

MICROSOFT WORD 2010 Quick Reference Guide

TABLE OF CONTENTS TABLE OF CONTENTS... 1 INTRODUCTION... 2 USING WORD S MENUS... 3 USING WORD S TOOLBARS... 5 TASK PANE... 9

OpenForms360 Validation User Guide Notable Solutions Inc.

Excel Select a template category in the Office.com Templates section. 5. Click the Download button.

Easy Windows Working with Disks, Folders, - and Files

Word 2016 Tips. Rylander Consulting

Using Visual Basic Studio 2008

Using StarImpress. A brief introduction

Introduction to the Visual Basic Express 2005IDE

Outlook basics. Identify user interface elements that you can use to accomplish basic tasks.

Transcription:

Introduction to the Visual Studio.NET Integrated Development Environment IDE CSC 211 Intermediate Programming Visual Studio.NET Integrated Development Environment (IDE) The Start Page(Fig. 1) Helpful links appear on left side Each has a sub screen The Getting Started screen Links to recent projects The Open Project button The New Project button The What s New screen New features and updates for Visual Studio.NET Downloadable code samples New tools The Online Community screen Ways to contact other programmers Visual Studio.NET Integrated Development Environment (IDE) Start Page Visual Studio.NET Integrated Development Environment (IDE) Visual C++ Projects folder Console Application (.NET) Buttons Description of selected project type Fig. 1 Empty project list Start Page in Visual Studio.NET, with an empty project list. Fig. 2 Project location New Project dialog. Project name

Fig. 3 Visual Studio.NET Integrated Development Environment (IDE) Menu Title bar Toolbar Menu bar Solution Explorer Properties window Visual Studio.NET environment after a new project has been created. Menu Bar and Toolbar The menu bar (Fig. 4) Commands for developing and executing programs Create new projects by going to File > New > Project Certain menu options only appear in specific IDE modes Each menu is summarized in Fig. 5 The toolbar (Fig. 6) Contains commonly used commands as icons (Fig. 8) Used rather than navigating through menus Simply click the icon to use the command Some icons have down arrows that offer additional commands Holding the mouse over an icon displays a tool tip Tool tips briefly state what the icons are or do. Menu Bar and Toolbar Menu File Edit View Project Build Debug Tools Menu Bar and Toolbar Description Contains commands for opening projects, closing projects, printing files, etc. Contains commands such as cut, paste, find, undo, etc. Contains commands for displaying IDE windows and toolbars. Contains commands for adding features, such as bitmap files, to the project. Contains commands for compiling a program. Contains commands for debugging and executing a program. Contains commands for additional IDE tools and options for customizing the environment. Window Contains commands for arranging and displaying windows. Help Contains commands for getting help. Fig. 5 Visual Studio.NET menus summary. Fig. 4 Visual Studio.NET menu bar.

Menu Bar and Toolbar Menu Bar and Toolbar Toolbar icon (indicates a command to create a new project) Toolbar Down arrow indicates additional commands Tooltip Fig. 6 Visual Studio.NET toolbar. Fig. 7 Tooltip demonstration. Solution Explorer Icon Properties Icon Visual Studio.NET Windows Object Browser icon Toolbox Icon Class View icon Solution Explorer The Solution Explorer (Fig. 9) Lists all files in the solution Displays the contents or a new project or open file The start up project is the project that runs when the program is executed It appears in bold in the Solution Explorer The plus and minus boxes expand and collapse the tree Can also double click on the file name to expand/collapse Fig. 8 Toolbar icons for two Visual Studio.NET windows.

Fig. 9 Solution Explorer without an open solution Solution Explorer window. Solution Explorer Startup project Collapse tree Expand tree Property pages Toolbar Solution Explorer with an open solution The Toolbox (Fig. 10) Toolbox Window Contains reusable controls Controls customize the form Visual programming allows drag and drop of controls Black arrows at bottom are used to scroll through items Mouse pointer icon Allows user to deselect current control No tool tips Each icon is labeled with its name Toolbox can be hidden on left side of IDE (Fig. 2.13) Mouse over it to expand it When the mouse is no longer over it, the toolbar goes away The pin icon is used disable auto hide Toolbox Window Toolbox Window Toolbox group Mouse over window name Toggle auto hide Close button Controls Scroll Arrow Fig. 11 Demonstrating window auto-hide. Fig. 10 Toolbox window.

Properties Window The Properties window (Fig. 12) Manipulate the properties of a project or a class Each project has its own set of properties Properties can include full path name and its dependences Left column is the property Right column is the property value Icons The Alphabetic icon arranges the properties alphabetically The Categorized icon arranges the properties by category Properties Window Categorized icon Alphabetic icon Event icon Component selection Thumb Description Current value Fig. 12 Properties window. Visual C++ Projects folder Windows Forms Application (.NET) Description of selected project type Fig. 13 Simple program as it executes. Fig. 14 Project location New Project dialog Project name

Tabs Menu Title bar Menu bar Solution Explorer Name and type of object Selected property Property description Property value Form (Windows application) Active tab Properties window Fig. 15 Visual Studio.NET after a Windows application has been created. Fig. 16 Setting the form s Text property. Resize the form (Fig. 17) Click and drag one of the forms size handles Enables handles are white Disables handles are gray The grid in the background will not appear in the solution Change the form s background color (Fig. 18) The BackColor determines the form s background color Dropdown arrow is used to set the color Add a Label control to the form (Fig. 19) Controls can be dragged to the form Controls can be added to the form by double clicking The forms background color is the default of added controls Disabled sizing handle Fig. 17 Form with sizing handles. Title bar Grid Mouse pointer over a sizing handle Enabled sizing handle

Current color Label control Custom pallete New background color Down arrow Fig. 18 Changing property BackColor. Fig. 19 Adding a new label to the form. Set the label s text (Fig. 20) The Text property is used to set the text of a label The label can be dragged to a desired location Or Format > Center In Form > Horizontal can also be used to position the label as in in this example Set the label s font size and align text (Fig. 21) The Font property changes the label s text (Fig. 22) The TextAlign property to align the text (Fig. 23) Add a picture box to the form (Fig. 24) Picture boxes are used to display pictures Drag the picture box onto the form Fig. 20 Label in position with its Text property set Label centered with updated Text property

Ellipsis indicates dialog will appear Current font Font sample Fig. 21 Properties window displaying the label s properties. Fig. 22 Font window for selecting fonts, styles and sizes. Text alignment options Top-center alignment option New picture box Updated label Fig. 23 Centering the text in the label. Fig. 24 Inserting and aligning the picture box.

Insert an image The property sets the image that appears (Fig. 25) Pictures should be of type.gif,.jpeg, or.png (Fig. 26) The picture box is resizable to fit the entire image (Fig. 27) 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 Fig. 25 property of the picture box. property value (no image selected) Newly inserted image (after resizing the picture box) Fig. 26 Selecting an image for the picture box. Fig. 27 Picture box after the image has been inserted.

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