Getting Started Example ICS2O curriculum

Slides:



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

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.
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.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
DT265-2 Object Oriented Software Development 2 Lecture 3 : Windows Programming Lecturer Pat Browne
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
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 2005: Reloaded Second Edition
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Chapter 3: Using GUI Objects and the Visual Studio IDE.
Integrated Development Environment (IDE)
1 Introduction to C# Programming Console applications No visual components Only text output Two types MS-DOS prompt - Used in Windows 95/98/ME Command.
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 the Visual Studio.NET IDE (LAB 1 )
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Graphical User Interfaces Tonga Institute of Higher Education.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Fundamentals of GUI Programming. Objectives: At the end of the session, you should be able to: describe the guidelines that are used for creating user-friendly.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
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.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
MS Visual Basic 6 Walter Milner. VB 6 0 Introduction –background to VB, A hello World program 1 Core language 1 –Projects, data types, variables, forms,
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
CS 101 Test 2 Study Guide Acronyms RAD - Rapid Application Development IDE - Integrated Development Environment GUI - Graphical User Interface VB - Visual.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Chapters 2 & 3. .NET Software development model that allows applications created in disparate programming languages to communicate Universal data access.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
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.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
JavaScript Events Java 4 Understanding Events Events add interactivity between the web page and the user You can think of an event as a trigger that.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET 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.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Visual Basic/ Visual Studio Brandon Large. Connecting to prior knowledge In your notes write down what the two main parts of the computer are. The “software”
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
Object Orientated Programming using C#
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
Visual programming Chapter 1: Introduction
3.01 Apply Controls Associated With Visual Studio Form
Visual Basic..
Hands-on Introduction to Visual Basic .NET
The University of Texas – Pan American
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
Presentation transcript:

Getting Started Example ICS2O curriculum Visual Studio C# Getting Started Example ICS2O curriculum

C# Language Overview "C# is intended to be a simple, modern, general-purpose, object-oriented programming language" Developed by Anders Hejlsberg 15 years old – created after Java

Top 10 Programming Languages C# is number 4 IEEE Spectrum, July 19 2014 Stephen Cass Based on "12 metrics from 10 sources (including IEEE Xplore, Google, and GitHub) to rank the most popular programming languages"

The .NET Framework collection of software/libraries used by Windows applications C# is one of many languages supported by .NET

Types of Projects Graphical / Forms Text / Console

Project Name You can specify the project name as you create a new project or as you save a project This is where the solution folder will be created Project name Project name Solution name

Console Applications Hello World

DESIGN MODE Forms Applications RUN MODE

Visual Studio Modes Visual Studio has 2 different modes Design Runtime Control properties can be modified at design time (static), or while the program is running (dynamic)

Visual Studio Environment Visual Studio is a professional integrated development environment (IDE) Tools: Designer Window (1) Solution Explorer Window (2) Properties Window (3) Free versions are available as Visual Studio Express on Microsoft's website (2) (1) (3)

Forms Basics TOOLBOX Form is a container for the controls that the user will use while the program is executing. Add controls from the toolbox

Objects Objects are created from their associated Class A Class is like a blueprint which defines the properties and methods/tasks. Form object Label objects TextBox objects Button objects

First Set of Controls Forms, Labels, Textboxes, Buttons Form - window that is displayed on the screen which contains other objects. Label – displays text within a Form TextBox – defined region used to accept text input from a user Button – defined area that is used to start an event generated by the user Note: Most of your application code will be associated with a Button Click event. If you double click on Control you will have the opportunity to view/modify the code or actions that will occur when the event happens.

Using TextBox for Input GUI control object that is used to obtain keyboard input from the user Example string name = txtName.Text; int age = int.Parse(txtName.age);

Using Buttons for Events Control object for user-generated events. Write code behind for a Button Click

Using Labels for Output GUI control object that is used to display text at a specific location on a form Example lblMessage.Text = "Some Message"; The displayed text is defined by the Text property of the Label The data on the left side of the = operator must be a string

Using Textbox for Output GUI control object that is used to display or obtain text at a specific location on a form Example tbMessage.Text = "Some text message"; Set the property ReadOnly to True to displaying text

Using Dialogs as Output Message box a small window (dialog box) that displays a text Example MessageBox.Show("Some text message"); MessageBox is a Class and not a control on a form To create a message box you call the Show method on the Class. The argument that is passed must be a string

ICS2O Curriculum Console / GUI Random Listbox Math operations Picturebox (GUI) Files Variables Timers (GUI) 1D Array Data type conversions User input (GUI) radio buttons / checkboxes Selection if / booleans Conditional Loops Counted loops (for)

Resources Used