R. Ching  MIS Department  California State University, Sacramento Week 12 Object-Oriented Programming Base and Derived Classes Lab Exercise.

Slides:



Advertisements
Similar presentations
Teacher Functions. Teacher Functions in OAS Create Tests Assign Tests to a Class View Reports of Student Performance.
Advertisements

CS0004: Introduction to Programming Select Case Statements and Selection Input.
Using Multiple Forms! Creating a Splash Screen. Uses of Multiple Forms Includes: Dialog Boxes (appear often in Windows Programs) Splash Screen (a window.
*** CONFIDENTIAL *** © Toshiba Corporation 2008 Confidential Wallboards.
Mark Dixon Page 1 04 – Database Design: Forms. Mark Dixon Page 2 Session Aims & Objectives Aims –To allow easier data entry using forms Objectives, by.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 6 Graphical User Interface (GUI) and Object-Oriented Design (OOD)
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
Visual Basic for Applications Class III. User Forms  We place controls on User Forms to get input from the user.  Common controls include text boxes,
Adding a Syllabus Link. Let’s add the syllabus to the homepage. Return to the homepage Click “Add File” To get to the homepage, click the Course Content.
Compunet Corporation Programming with Visual Basic.NET GUI Chapter 3 Week 13 Tariq Aziz and Kevin Jones.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
Chapter 8: Writing Graphical User Interfaces
Chapter 8: Writing Graphical User Interfaces Visual Basic.NET Programming: From Problem Analysis to Program Design.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Classic Controls Trần Anh Tuấn A. Week 1 How to create a MFC project in VS 6.0 How to create a MFC project in VS 6.0 Introduction to Classic Controls.
1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 2 February 1 PL/SQLPL/SQL Creating a FormCreating a Form.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
1 Chapter 12: Form Builder Objects and Flexible Code.
Exercise 5 Introduction to C# CIS This exercise uses Group boxes, Radio buttons, List boxes, and Buttons to allow users to select food items from.
Class 3 Remote Instruction Computer Math EDU 556 Programming for Instruction Dr. Steve Broskoske This is an audio PowerCast. Make sure your volume is.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Microwave Oven Application Building Your Own Classes and Objects.
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.
Silent Dismissal Classroom Quick Start Guide. Sign In Enter your site address in the browser, e.g., yourschool.sdcs99.com Enter your User ID, Password.
CS324e - Elements of Graphics and Visualization Java GUIs - Event Handling.
Practical Programming COMP153-08S Week 5 Lecture 1: Screen Design Subroutines and Functions.
Session 8: Working with Form iNET Academy Open Source Web Development.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
Microsoft Visual Basic 2012 CHAPTER ELEVEN Multiple Classes and Inheritance.
Select (drop-down list) Inputs. Insert/Form/List Menu.
Object-Oriented Application Development Using VB.NET 1 Chapter 10 VB.NET GUI Components Overview.
Links take you to…  Different slides in your presentation  A different PowerPoint presentation  Any program - (Word can be used for example to complete.
Task #1 Create a relational database on computers in computer classroom 308, using MySQL server and any client. Create the same database, using MS Access.
Teacher Functions. Teacher Functions in OAS Create Tests Assign Tests to a Class View Reports of Student Performance.
2e – RadioButtons Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
Object-Oriented Programming: Inheritance and Polymorphism.
1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 13 April 26 Pseudo Drill-Down GraphsPseudo Drill-Down Graphs.
Tutorial 8: Manipulating Strings1 Tutorial 8 Manipulating Strings.
Object-Oriented Application Development Using VB.NET 1 Chapter 11 Using Multiple Forms with Problem Domain Classes.
Visual Basic.NET BASICS Lesson 14 Menus and Printing.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
CIS 270—Application Development II Chapter 11—GUI Components: Part I.
Visual Basic.NET BASICS Lesson 9 Nested If Statements and Radio Buttons.
Using Forms and Form Elements In Visual Basic.NET.
Setting up Solver Add-in for Excel
Microsoft Access 2016 Simplify Data Entry with Forms
© 2016, Mike Murach & Associates, Inc.
Lexical Reference Variables in Graphics and List Box in Forms
Chapter Topics 15.1 Graphical User Interfaces
Chapter 8: Writing Graphical User Interfaces
Multiple Classes and Inheritance
Simplify Data Entry with Forms Chapter 3
Adding Priced subClins
Teacher Functions.
Tutorial 19 - Microwave Oven Application Building Your Own Classes and Objects Outline Test-Driving the Microwave Oven Application Designing.
Development The Foundation Window.
variable vs object Read pgs on variables
Tooltip -Radio Button.
Object-Oriented Programming: Inheritance and Polymorphism
Classes.
YOUR text YOUR text YOUR text YOUR text
F T T T F.
Group Boxes, Radio buttons and Checked List Boxes
Chapter 8 Objects and Classes Part 2
CHAPTER FOUR VARIABLES AND CONSTANTS
Custom Forms with VBA in Excel In-Class Exercise #11
4.4 – List vs Array Exercise 4.1: Array Variables
Presentation transcript:

R. Ching  MIS Department  California State University, Sacramento Week 12 Object-Oriented Programming Base and Derived Classes Lab Exercise

R. Ching  MIS Department  California State University, Sacramento Steps Create the classCreate the class Define the propertiesDefine the properties Create the accessor methodsCreate the accessor methods Create the constructorsCreate the constructors Create the formCreate the form Create the derived classesCreate the derived classes

R. Ching  MIS Department  California State University, Sacramento  Add the class from the Project menu

R. Ching  MIS Department  California State University, Sacramento Assign a name to the class

R. Ching  MIS Department  California State University, Sacramento  Define the class’ properties

R. Ching  MIS Department  California State University, Sacramento Accessor Methdods  Add the accessor methods Tests the length of the character string

R. Ching  MIS Department  California State University, Sacramento

Constructors  Add the constructors

R. Ching  MIS Department  California State University, Sacramento Create the Form Text boxes Combo box Text box Group box Radio buttons Buttons List box Labels

R. Ching  MIS Department  California State University, Sacramento Add the Subclasses

R. Ching  MIS Department  California State University, Sacramento

Constructor (the same for each class)

R. Ching  MIS Department  California State University, Sacramento Super and Subclasses

R. Ching  MIS Department  California State University, Sacramento Define the Objects Objects to classes Object Class

R. Ching  MIS Department  California State University, Sacramento Button Clicked Find the checked radio button Instantiate the object

R. Ching  MIS Department  California State University, Sacramento

Adding Shared Variables

R. Ching  MIS Department  California State University, Sacramento Read-only property procedures

R. Ching  MIS Department  California State University, Sacramento Temporary Fix

R. Ching  MIS Department  California State University, Sacramento When the user selects an item in the list box, the corresponding counts appear in the labels

R. Ching  MIS Department  California State University, Sacramento Test for the Selected Item

R. Ching  MIS Department  California State University, Sacramento