Lecture 1 Getting Started with Programming using Visual Studio.

Slides:



Advertisements
Similar presentations
Windows Test Review.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
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.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Compunet Corporation Programming with Visual Basic.NET GUI Week # 11 Tariq Ibn Aziz.
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
C# Programming: From Problem Analysis to Program Design1 Introduction to Windows Programming C# Programming: From Problem Analysis to Program Design 3.
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
Digital Image Processing Lecture3: Introduction to MATLAB.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012.
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.
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
Overview-An Overview of Visual Basic.NET1 An Overview of Visual Basic.NET.
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.
Visual Basic 101.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Chapter 3: Using GUI Objects and the Visual Studio IDE.
Chapter 5 Menus, Common Dialog Boxes, and Methods Programming in C#.NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Operating Systems. Without an operating system your computer would be useless! A computer contains an Operating System on its Hard Drive. This is loaded.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
SE 320 – Introduction to Game Development Lecture 8: Animations, GUIs, Debugging and IDEs Lecturer: Gazihan Alankuş Please look at the last two slides.
Visual C++ Programming: Concepts and Projects
COS240 O-O Languages AUBG, COS dept Lecture 33 Title: C# vs. Java (GUI Programming) Reference: COS240 Syllabus.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
1.1 Introduction to Programming academy.zariba.com 1.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Introduction to Windows Programming
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
Lection №5 Modern integrated development environment.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
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.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Know your Operating System Thanks to Dina Sokol. An operating system is software (a computer program) that manages your computer.
Understanding Desktop Applications Lesson 5. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Windows Forms Applications Understand.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Understand Databound Controls Windows Development Fundamentals LESSON 4.2A.
Understanding Desktop Applications Lesson 5. Understanding Windows Forms Applications Windows Forms applications are smart client applications consisting.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
Introduction to Programming and Visual Basic
Event loops 16-Jun-18.
An Introduction to Computers and Visual Basic
An Introduction to Computers and Visual Basic
An Introduction to Visual Basic
Getting Started with Programming
Social Media And Global Computing Introduction to Visual Studio
Understanding the Visual IDE
Event loops.
Event loops 17-Jan-19.
Event loops 17-Jan-19.
An Introduction to Computers and Visual Basic
Event loops 8-Apr-19.
Lecture 5 Menu Strip Demo with Dialog Controls.
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

Lecture 1 Getting Started with Programming using Visual Studio

What is Software?

An aging maintenance man at an engineering plant was forced into retirement as a money-saving measure following extensive modernization of the plant. Soon after leaving, he was called back to help fix some of the equipment that had broken down and was not responding to the trouble-shooting methods being recommended by the newly installed automated control system. The elderly maintenance man walked into a maze of pipes, took out a hammer and gave one of the pipes a sturdy whack. The machinery immediately starting running. The maintenance man sent the plant manager the following invoice: Fee for service $1, Hitting pipe with hammer $ 1.00 Knowing which pipe to hit $ Implementing a Program is NOT the Hard Part

Calculate your car’s gas mileage. We need two odometer readings, and the number of gallons of gas used between them. 1.Fill tank 2.Record first odometer reading 3.Drive a while 4.Fill tank and note number of gallons required. 5.Record second odometer reading 6.Divide difference in odometer readings by the number of gallons used. Live demo in Class What types of things should we test? Software Development Process

Structured Procedural Programming In a structured program, the computer controls the sequence of operations. When the program needs input from the user, a message is displayed and the program will wait for the user to respond. Otherwise the program moves through the program step-by-step until the intended results are ready to be displayed to the user or stored for later use. Structured procedural programs can be implemented as console applications.

Object-Oriented Programming In this course we are going to side-step a lot of the “hoopla” associated with object-oriented programming. As stated in the (Doyle) textbook, The concept behind object-oriented programming (OOP) is the applications can be organized around objects rather than processes. While there is a lot of other aspects of OOP, they are more about the theory than the practice of writing programs. For our purposes we note that the graphical elements in a graphical user interface (GUI) program such as buttons, textboxes, counters, sliders, menus, etc...are objects. We will write software that performs specific functions whenever the user interacts with these objects. These functions and methods are known as event-handlers. The sequence of operations in a GUI application are controlled by the user rather than the computer.

We want (need) to see the File Extensions

Building a Console Application

Building a Windows Forms Application For the class desktop computers we will need to change the working directory... Using the Desktop will make it easier for us to find the project.

Dragging and Dropping Controls onto a Form

Changing the Properties of a Control

Adding an Even-Handler to a Control Double-clicking the “Click Me” button creates code for a click event handler. We add the MessagBox.Show line to the body of this method. Now we are ready to run this program. Click on the green triangle under the Debug menu.