3.01 Apply Controls Associated With Visual Studio Form

Slides:



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

Chapter 1: An Introduction to Visual Basic 2012
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
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.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
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.
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.
Chapter 2 –Visual Basic, Controls, and Events
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
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.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
Microsoft Visual Basic 2008 CHAPTER 8 Using Procedures and Exception Handling.
IE 411/511: Visual Programming for Industrial Applications
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
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.
 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.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
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.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
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.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
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.
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.
 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.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
Programming with Microsoft Visual Basic 2012 Chapter 1: An Introduction to Visual Basic 2012.
3.02 APPLY PROPERTIES ASSOCIATED WITH THE CONTROLS Computer Programming I.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Chapter 1: An Introduction to Visual Basic .NET
Visual Basic.NET Windows Programming
Visual Studio 2010 Hello World CSC 230.
Chapter 2: The Visual Studio .NET Development Environment
Chapter 1: An Introduction to Visual Basic 2015
Introduction to Computer CC111
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
Computer Programming I
1. Introduction to Visual Basic
How to design a Windows Forms application
Visual programming Chapter 1: Introduction
Visual studio 2010 SENG 403, Tutorial 2 SENG Winter 2011.
Introduction to the Visual C# 2005 Express Edition IDE
Using Procedures and Exception Handling
Chapter 3 Fundamentals of Programming in Visual Basic 3
Visual Studio 2010 Hello World CSC 230.
Chapter 2 – Introduction to the Visual Studio .NET IDE
CIS16 Application Development Programming with Visual Basic
Visual Studio.
Visual C# - GUI and controls - 1
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Presentation transcript:

3.01 Apply Controls Associated With Visual Studio Form Computer Programming I

Essential Standard & 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: Choose default environment settings dialogue box Pick the language you are using for the class. Click on Start Visual Studio. Microsoft Visual Studio will load user settings – be patient. The IDE (Integrated Development Environment) screen will pop up where you create your projects objects and code.

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

Ways to Create a Project File > New > Project Click New Project button In recent projects, create: project, click project

Creating a New Project The New Project dialog box is displayed. Choose your programming language Choose the template VB: Windows Application Change the Name Change the Location to where you are saving your work. 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. A programming block is group of code- like a sub, an IF statement, or a loop.

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. The watch window allows the coder to track the value of variables as the program is being executed. This is useful way to catch logic errors that might otherwise be missed.

Visual Studio Tools The Visual Studio IDE Appears. The Main Tools Visible Are: Designer Window Solution Explorer Window Properties Window, and The Toolbox

Solution Explorer Window Toolbox Properties Window Designer Window

The Solution Explorer Window The Solution Explorer window displays a list of the projects in the solution and the items contained in the project. View Code Refresh View Designer Properties My Project files Show All Files Source Code File

Designer Window Designer Window Contains a form. To change the size of the Form Click and drag the sizing handles on the corner of the Form or Change the size properties (measured in pixels) on the properties window.

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

Properties Window Name Font AutoSize BackColor ForeColor Enabled Size 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 Toolbox The Toolbox Contains the Controls for Designing a Form. The Toolbox Tab Appears on the Left of the IDE. To make the Toolbox visible, Click Toolbox tab and click the virtual push pin. View Menu > Toolbox Click the Toolbox button. Try..Catch can be used for other things too, but this is a main use. An exception is an error the program cannot handle on its own.

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 CheckBox RadioButton PictureBox 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 Moving an object 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.