COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.

Slides:



Advertisements
Similar presentations
Information System Design Lab 5&6. User Interface Design.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Chapter 1: An Introduction to Visual Basic 2012
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
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,
Chapter 2 –Visual Basic, Controls, and Events
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
C# Programming: From Problem Analysis to Program Design1 Programming Based on Events C# Programming: From Problem Analysis to Program Design 3 rd Edition.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
 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.
Graphical User Interface (GUI) A GUI allows user to interact with a program visually. GUIs are built from GUI components. A GUI component is an object.
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.
Compunet Corporation Programming with Visual Basic.NET GUI Week # 11 Tariq Ibn Aziz.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Visual Basic.net IDE. Integrated Development Environment.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
© 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.
Chapter 1: An Introduction to Visual Basic 2005 Programming with Microsoft Visual Basic 2005, Third Edition.
Chapter 12: Using Controls. Examining the IDE’s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
 2009 Pearson Education, Inc. All rights reserved Dive Into ® Visual C# 2008 Express.
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.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
 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 Chapter Ten Using Controls. 2 Objectives Learn about Controls How to create a Form containing Labels How to set a Label’s Font How to add Color to a.
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.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
COMPUTER PROGRAMMING I 3.02 Apply Properties Associated with the Controls.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Chapter 27 Getting “Web-ified” (Web Applications) 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.
 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.
 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.
Programming with Microsoft Visual Basic 2012 Chapter 1: An Introduction to Visual Basic 2012.
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
Chapter 1: An Introduction to Visual Basic 2015
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
Introduction to the Visual C# 2005 Express Edition IDE
Chapter 2 – Introduction to the Visual Studio .NET IDE
المحاضرة الأولى Lab(1) أ.ساره الأحمدي برمجة حاسب 2.
Presentation transcript:

COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form

Essential Standard and Objectives Essential Standard 3.00 Apply Procedures To Construct Windows Form 3.01 Apply Controls Associated With Visual Studio Form (3%)

Starting Visual Studio First Time Only: 1. Choose Default Environment Settings Dialogue Box 1. Pick the language you are using for the class. 2. Click on Start Visual Studio. 3. Microsoft Visual Studio will Load User Settings – Be Patient.

This is the Start Page you will see each time you open Visual Studio.

Ways to Create a Project 1. File > New > Project 2. Click New Project button 3. Click New Project

Creating a New Project The New Project dialog box is displayed. 1. Choose your programming language 2. Choose the template  VB: Windows Application 3. Change the Name 4. Change the Location to where you are saving your work. 5. Click OK

Visual Basic Project Folder Contains the name of your current project and the many individual components which may be related to the project.  includes a project file (.vbproj) and a solution file (.sln). A project file contains information specific to a single programming task. A solution file contains information about one or more projects.

Solution Explorer Window Special Note: If Your Visual Basic Project Only Contains One Project (.vbproj) and One Solution (.sln), Opening the Project is the Same as Opening the Solution. For a Multi-Project Solution, Open the Solution File Only.

Visual Studio Tools The Visual Studio IDE Appears. The Main Tools Visible Are: 1. Designer Window 2. Properties Window 3. The Toolbox

Designer Window Properties Window Toolbox

Designer Window  Contains a Form.  To Change the size of the Form 1. Click and Drag the Sizing Handles on the Corner of the Form or 2. Change the Size Properties (Measured in Pixels) on the Properties Window.

Properties Window The Properties Window is Utilized to Change the Characteristics of Your Form During Design Time. Some of the Object Properties You Can Change include: Name Font AutoSize BackColor ForeColor Enabled Size Text

The Editor Window This White Window Will Contain Your Program Code. Class Name List Contains all control objects on form Method Name List Contains all methods for the chosen object

The Toolbox The Toolbox Contains the Controls for Designing a Form. The Toolbox usually Appears on the left of the IDE. To Make the Toolbox Visible,  View Menu > Toolbox

The Toolbox Controls Controls Are Objects Which Can Be Placed on Your Form Using Either the Double-Click or Click and Drag Method. Examples of Some Toolbox Controls:  Buttons  Labels  Option Buttons  Check Boxes  List Boxes, etc.

Common Controls Button  clicked by the user to perform an action or group of actions. TextBox  used to gather input from a user or to display text back to the user. Label  used to display information to the user either to identify another object, provide instructions, or display output. ListBox  used to display a list of items for a user to select. Multiple items can be selected.

Common Controls ComboBox  A drop down menu that also allows a user to type in an entry or select an option.  Combines a ListBox and a TextBox CheckBox  Usually found in a group box  Allows users to provide multiple inputs to answer a question RadioButton  Used with group boxes  Allows user to make only one choice from the options in the group. PictureBox  used to display a picture or image to the user.

Adding a Control To add an object to a form – Click a control in the Toolbox and then click the form – The pointer shape displays an icon similar to the selected control. – There are snap-to lines that you can use for alignment. Moving an object – Drag a control object to move it. – You can select a group to move together

Designing a Form Remember that a balanced and pleasing design to a form is important. Try to make your form appear as professional as possible. When applying background color to your form, consider the user and/or culture.