Visual programming Chapter 1: Introduction

Slides:



Advertisements
Similar presentations
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Advertisements

CS0004: Introduction to Programming Visual Studio 2010 and Controls.
© 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,
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
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.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Visual Basic Chapter 1 Mr. Wangler.
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.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
IE 411/511: Visual Programming for Industrial Applications
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.
CSCI 6962: Server-side Design and Programming Introduction to Active Server Pages.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
BIL528 – Bilgisayar Programlama II Introduction 1.
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 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
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.
 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 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Visual Basic Fundamental Concepts
Visual Basic.NET Windows Programming
ASP.NET Forms.
Chapter 2: The Visual Studio .NET Development Environment
Chapter 1: An Introduction to Visual Basic 2015
Computer Software: Programming
Chapter Topics 15.1 Graphical User Interfaces
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
1. Introduction to Visual Basic
How to design a Windows Forms application
3.01 Apply Controls Associated With Visual Studio Form
Visual studio 2010 SENG 403, Tutorial 2 SENG Winter 2011.
Introduction to the Visual C# 2005 Express Edition IDE
Using Procedures and Exception Handling
Visual programming Chapter 3: GUI (Graphical User Interface) Part I
Chapter 2 Visual Basic Interface
VISUAL BASIC.
Visual Basic..
Visual Basic.
Social Media And Global Computing Introduction to Visual Studio
Chapter 2 – Introduction to the Visual Studio .NET IDE
Understanding the Visual IDE
Visual programming Chapter 2: Events and Event Handling
Visual Studio.
Chapter 15: GUI Applications & Event-Driven Programming
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Introduction to Visual Basic 2010
GUI Programming in Visual Studio .NET
Presentation transcript:

Visual programming Chapter 1: Introduction Eman Alnaji Dareen Hamoudeh

Contents Introduction – Visual Studio 2012 Start Page Create a New Project Forms.cs Solution Explorer Toolbox Properties Window Project Physical Folder Run the Project

Introduction – Visual Studio 2012 Visual Studio 2012 is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging apps (also called applications) written in various .NET programming languages.

Start Page

Create a New Project Start Page  New Project Or File  New  Project A Project: is a group of related files, such as the Visual C# code and any images that might make up an app.

Create a New Project

Create a New Project Make sure to choose the proper language “Visual C#”. And from the templates displayed, choose “Windows Forms Applications” This template will enable you to start your project with the first screen that will be displayed to the users of the resulted application. This form (window) will be filled with controls that can be used by the user. Give a name of your project, specify its location on your PC, and finally give a name to the solution. For beginners, we use the same name of the project.

Create a New Project A Solution: contains several projects, and it is usually used for large systems. In this course, we will create only one project in a solution. Now, Press “OK”

A Project “Start” is created

Forms.cs Form1.cs [Design] This window displays the file form1.cs in design mode. In this window you can add the needed controls to the form. Your project may contain several forms that act as the windows of the application.

Solution Explorer Solution Explorer is used to review all files in your project. Mainly, the form1.cs file, references, and any images you include in the project.

Toolbox Toolbox: is a window that contains all the controls and components that you can add and use in a form. The controls are categorized in several categories.

Toolbox Common Controls: is the most used categories, since it contains the most common controls that you can find in most forms. For example, buttons and textboxes. To add any control from the toolbox to the form, drag and drop the control to the desired location, or double click on it, and it will be placed in a location automatically selected by the system.

Toolbox This image displays a form after adding a button to it.

Properties Window The Properties window, displays all properties associated to the selected control. You can see at the top of this window, in the image, that these are the properties of Form1.

Properties Window Here, Form1 is selected (check the selection handlers), so the properties displayed are associated to the form.

Properties Window Here, button1 is selected, so button1 properties are displayed in the window.

Properties Window Here, textBox1 is selected, so textBox1 properties are displayed in the window. Note that there are some properties are common with the button properties, and others are special for the textbox.

Properties Window You can display the properties of any control, either alphabetically, as in the first image, or categorized as in the second image.

Properties Window Note that each property has a name and a value of a certain data type. For example, property named “Text”, has a string value of “button1”, a property named “TabIndex”, has an integer value of “0” and a property named “Visible” has a boolean value of “True”.

Properties Window The same property window can be used to display the events associated to a control. The concept of Events will be discussed in Chapter 2.

Project Physical Folder When the project is created, a physical folder is created with the same project name in the selected location, and all files listed in the Solution Explorer, can be found there.

Run the Project Click on “Start” button, at the toolbar in Visual Studio Window, and an execution file will be generated of the project, and it will be executed as displayed in the image.

Run the Project Go to the Project folder, from bin  Debug, you can find the execution file projectname.exe (start.exe), when you double click the file the project will be distributed, even if the Visual Studio IDE is closed.

The End