 2006 Pearson Education, Inc. All rights reserved. 1 2 2 Introduction to the Visual C# 2005 Express Edition IDE.

Slides:



Advertisements
Similar presentations
Chapter 1: An Introduction to Visual Basic 2012
Advertisements

Using Macros and Visual Basic for Applications (VBA) with Excel
Microsoft Windows Vista Chapter 5 Personalize Your Work Environment.
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 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
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.
Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Introduction.
Microsoft Excel 2000 Adding Visual Elements and Managing Files.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introducing Web Controls Outline 29.1 Analyzing the.
IE 411/511: Visual Programming for Industrial Applications
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
 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.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
 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.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Dreamweaver CS4 Concepts and Techniques Chapter 9 Using Spry to Create Interactive Web Pages.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Chapter Two Creating a First Project in Visual Basic.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 3.1 Test-Driving the Welcome Application 3.2.
 2009 Pearson Education, Inc. All rights reserved. 1 CS1120 Introduction to Windows Forms Applications Many slides modified or added by Prof. L. Lilien.
Chapter 2 – Introduction to the Visual Studio .NET IDE
© 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.
Lesson: 2 Common Features and Commands After completing this lesson, you will be able to: Identify the main components of the user interface. Identify.
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.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 4 Designing the Inventory Application Introducing TextBox es and Button s.
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.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Addison Wesley is an imprint of © 2011 Pearson Addison-Wesley. All rights reserved. Chapter 2 Creating Applications with Visual Basic.
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.
 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.
Dive Into® Visual Basic 2010 Express
Chapter 2: The Visual Studio .NET Development Environment
Chapter 1: An Introduction to Visual Basic 2015
Chapter 2 – Introduction to the Visual Studio .NET IDE
Program and Graphical User Interface Design
Introduction to the Visual C# 2005 Express Edition IDE
Chapter 2 – Introduction to the Visual Studio .NET IDE
Presentation transcript:

 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE

 2006 Pearson Education, Inc. All rights reserved. 2 Form ever follows function. — Louis Henri Sullivan Seeing is believing. — Proverb Intelligence …is the faculty of making artificial objects, especially tools to make tools. — Henri-Louis Bergson

 2006 Pearson Education, Inc. All rights reserved. 3 OBJECTIVES In this chapter you will learn:  The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging your Visual C# programs.  Visual Studio's help features.  Key commands contained in the IDE's menus and toolbars.  The purpose of the various kinds of windows in the Visual Studio 2005 IDE.  What visual programming is and how it simplifies and speeds program development.  To create, compile and execute a simple Visual C# program that displays text and an image using the Visual Studio IDE and the technique of visual programming.

 2006 Pearson Education, Inc. All rights reserved Introduction 2.2 Overview of the Visual Studio 2005 IDE 2.3Menu Bar and Toolbar 2.4 Navigating the Visual Studio 2005 IDE Solution Explorer Toolbox Properties Window 2.5 Using Help 2.6 Using Visual Programming to Create a Simple Program Displaying Text and an Image 2.7 Wrap-Up 2.8 Web Resources

 2006 Pearson Education, Inc. All rights reserved. 5 Hidden window Start Page links Empty Solution Explorer (no projects open) New Project button Start Page tab Fig. 2.1 | Start Page in Visual C# 2005 Express Edition.

 2006 Pearson Education, Inc. All rights reserved. 6 Requested Web page (URL in location bar drop-down menu) Selected tab requested Web page Fig. 2.2 | Displaying a Web page in Visual Studio.

 2006 Pearson Education, Inc. All rights reserved. 7 Visual C# Windows Application (selected) Default project name (provided by Visual Studio) Description of selected project template (provided by Visual Studio) Fig. 2.3 | New Project dialog.

 2006 Pearson Education, Inc. All rights reserved. 8 Active tabTabs Menu Menu bar Solution Explorer window Form (Windows application) Properties window Fig. 2.4 | Design view of the IDE.

 2006 Pearson Education, Inc. All rights reserved. 9 Text box (displaying the text Form1), which can be modified. Fig. 2.5 | Example of a text box control in the Visual Studio IDE.

 2006 Pearson Education, Inc. All rights reserved. 10 OK button Cancel button Fig. 2.6 | Examples of buttons in the Visual Studio IDE.

 2006 Pearson Education, Inc. All rights reserved. 11 Fig. 2.7 | Visual Studio menu bar.

 2006 Pearson Education, Inc. All rights reserved. 12 Fig. 2.8 | Summary of Visual Studio 2005 IDE menus (Part 1 of 2).

 2006 Pearson Education, Inc. All rights reserved. 13 Fig. 2.8 | Summary of Visual Studio 2005 IDE menus (Part 2 of 2).

 2006 Pearson Education, Inc. All rights reserved. 14 Save Other Windows Solution Configurations New project Open FileSave All Copy Undo Navigate backwards Start Add Item Cut Paste Redo Navigate forwards Solution Platforms Find in files Solution Explorer Object browser Start Page Find Properties Window Toolbox Window a) b) Fig. 2.9 | Standard toolbar in Visual Studio.

 2006 Pearson Education, Inc. All rights reserved. 15 Standard toolbar Build toolbar added to the Standard toolbar Fig | Adding the Build toolbar to the IDE.

 2006 Pearson Education, Inc. All rights reserved. 16 Toolbar Down arrow indicates additional commands Fig | IDE toolbar icon showing additional commands.

 2006 Pearson Education, Inc. All rights reserved. 17 Tool tip displayed when the mouse pointer rests over the New Project icon Fig | Tool tip demonstration.

 2006 Pearson Education, Inc. All rights reserved. 18 Solution ExplorerToolbox Properties window Fig | Toolbar icons for three Visual Studio windows.

 2006 Pearson Education, Inc. All rights reserved. 19 Tab for hidden window (auto-hide enabled) Fig | Auto-hide feature demonstration.

 2006 Pearson Education, Inc. All rights reserved. 20 Toolbox title bar Horizontal orientation for pin icon Fig | Displaying a hidden window when auto-hide is enabled.

 2006 Pearson Education, Inc. All rights reserved. 21 Toolbox “pinned down” Vertical orientation for pin icon Fig | Disabling auto-hide (“pinning down” a window).

 2006 Pearson Education, Inc. All rights reserved. 22 Show all files icon Toolbar Startup project Fig | Solution Explorer with an open project.

 2006 Pearson Education, Inc. All rights reserved. 23 Plus box Minus box Fig | Solution Explorer showing plus boxes and minus boxes for expanding and collapsing the tree to show or hide project files.

 2006 Pearson Education, Inc. All rights reserved. 24 Minus box indicates that the file of folder is expanded (changed from plus box) Fig | Solution Explorer expanding the Properties file after clicking its plus box.

 2006 Pearson Education, Inc. All rights reserved. 25 Plus boxes indicate that the file or folder is collapsed (changed from minus box) Fig | Solution Explorer collapsing all files after clicking any minus boxes.

 2006 Pearson Education, Inc. All rights reserved. 26 Group names Controls Fig | Toolbox window displaying controls for the Common Controls group.

 2006 Pearson Education, Inc. All rights reserved. 27 Categorized icon Alphabetical icon Description of the Text property Component selection drop-down list Toolbar PropertiesProperties values Fig | Properties window displaying the Text property of the Form.

 2006 Pearson Education, Inc. All rights reserved. 28 Fig | Help menu commands.

 2006 Pearson Education, Inc. All rights reserved. 29 Contents Selected Item How Do I Search Index Dynamic Help window Relevant help articles on the selected item (e.g., the Form) Fig | Dynamic Help window.

 2006 Pearson Education, Inc. All rights reserved. 30 Fig | Using context-sensitive help.

 2006 Pearson Education, Inc. All rights reserved. 31 Show all settings check box Help options selected Show Help using: box Fig | Options dialog displaying Help settings.

 2006 Pearson Education, Inc. All rights reserved. 32 Label control PictureBox control Fig | Simple program executing.

 2006 Pearson Education, Inc. All rights reserved. 33 Template types Type in the project name Fig | New Project dialog.

 2006 Pearson Education, Inc. All rights reserved. 34 Fig | Save Project dialog.

 2006 Pearson Education, Inc. All rights reserved. 35 Click to set project location Selected Project location Fig | Setting the project location in the Project Location dialog.

 2006 Pearson Education, Inc. All rights reserved. 36 Name and type of object Property value Selected property Property description Fig | Setting the form’s Text property in the Properties window.

 2006 Pearson Education, Inc. All rights reserved. 37 Enabled sizing handles Title bar Fig | Form with enabled sizing handles.

 2006 Pearson Education, Inc. All rights reserved. 38 Fig | Resized form.

 2006 Pearson Education, Inc. All rights reserved. 39 Down-arrow button Current color Custom palette Light blue Fig | Changing the form’s BackColor property.

 2006 Pearson Education, Inc. All rights reserved. 40 New background color Fig | Form with new BackColor property applied.

 2006 Pearson Education, Inc. All rights reserved. 41 Label control Fig | Adding a label to the form.

 2006 Pearson Education, Inc. All rights reserved. 42 AutoSize property Fig | Changing the Label’s AutoSize property to False.

 2006 Pearson Education, Inc. All rights reserved. 43 Sizing handles Label centered with updated Text property Fig | GUI after the form and Label have been customized.

 2006 Pearson Education, Inc. All rights reserved. 44 Ellipsis button Fig | Properties window displaying the Label’s properties.

 2006 Pearson Education, Inc. All rights reserved. 45 Current font Font sample Fig | Font dialog for selecting fonts, styles and sizes.

 2006 Pearson Education, Inc. All rights reserved. 46 Fig | Centering the Label’s text. Text alignment options Middle-center alignment option

 2006 Pearson Education, Inc. All rights reserved. 47 Updated Labe l PictureBox Fig | Inserting and aligning a PictureBox.

 2006 Pearson Education, Inc. All rights reserved. 48 Image property value (no image selected) Fig | Image property of the PictureBox.

 2006 Pearson Education, Inc. All rights reserved. 49 Fig | Select Resource dialog to select an image for the PictureBox.

 2006 Pearson Education, Inc. All rights reserved. 50 Image file name Fig | Select Resource dialog displaying a preview of selected image.

 2006 Pearson Education, Inc. All rights reserved. 51 SizeMode property set to StretchImage SizeMode property Fig | Scaling an image to the size of the PictureBox.

 2006 Pearson Education, Inc. All rights reserved. 52 Newly Inserted image Fig | PictureBox displaying an image.

 2006 Pearson Education, Inc. All rights reserved. 53 Build menu Fig | Building a solution.

 2006 Pearson Education, Inc. All rights reserved. 54 Form Running program Close box Fig | IDE in run mode, with the running program in the foreground window.