Classes CSC 265 (Blum)
Project/Add Class CSC 265 (Blum)
Add New Item Dialog Box CSC 265 (Blum) Name the file
Starting the class: Declaring the attributes CSC 265 (Blum)
An overloaded constructor CSC 265 (Blum)
An overloaded constructor (Cont.) CSC 265 (Blum)
Property: Set and Get CSC 265 (Blum)
Sets often include validation code CSC 265 (Blum)
Public Method CSC 265 (Blum)
Build class CSC 265 (Blum)
Declaring a (global) Person object Declaring a (global) Person object. Note that it appears in the drop-down list CSC 265 (Blum)
Use different constructor based on information available CSC 265 (Blum)
Using the property of the object (actually the get method thereof) Using the property of the object (actually the get method thereof). Note the drop-down list. CSC 265 (Blum)
Writing myPerson’s data to a label CSC 265 (Blum)
Parameter-less constructor CSC 265 (Blum)
One-parameter constructor CSC 265 (Blum)
Two-parameter constructor CSC 265 (Blum)
State Class Example: Array of Objects CSC 265 (Blum)
Another Example: The State Class CSC 265 (Blum)
State Property Sets and Gets CSC 265 (Blum)
State Property Sets and Gets (Cont.) CSC 265 (Blum)
State Property Sets and Gets (Cont.) CSC 265 (Blum)
State Property Sets and Gets (Cont.) CSC 265 (Blum)
Declare array of state objects CSC 265 (Blum)
Read, trim and parse CSC 265 (Blum)
Instantiate array of objects, parse individual lines, instantiate individual object CSC 265 (Blum)
Set properties of state objects CSC 265 (Blum)
Use object gets to display values in textboxes CSC 265 (Blum)
Clear Textboxes when new item selected from list CSC 265 (Blum)