By Dan Clark (auth.)
Read Online or Download An Introduction to Object-Oriented Programming with Visual Basic .NET PDF
Best visual basic books
Subclassing & Hooking with visible simple bargains builders a particular approach to customise home windows habit. home windows is a message-based approach. each motion you request creates a number of messages to hold out the motion. those messages are handed among items and hold with them info that offers the recipient extra element on the way to interpret and act upon the message.
Offers directions on upgrading Microsoft visible easy 6. zero functions to new models of visible easy, with info on making plans an improve undertaking, checking out an upgraded software, and deploying the recent program.
- Pro LINQ in VB8: Language Integrated Query in VB 2008 (Expert's Voice in .NET)
- Visual Basic 2010 Unleashed
- Web Programming With Visual Basic
- Visual Basic 2005 Express Edition For Dummies (For Dummies (Computers))
- Programming Distributed Applications with Com and Microsoft Visual Basic 6.0 (Programming/Visual Basic)
Extra info for An Introduction to Object-Oriented Programming with Visual Basic .NET
RetailCustomer CorporateCustomer Figure 2-13. Documenting inheritance Aggregation When a class is formed by a composition of other classes, they are classified as an aggregation. This is represented with a solid line connecting the classes in a hierarchical structure. Placing a diamond on the line next to a class in the diagram indicates the top level of the hierarchy. For example, an inventory application designed to track plane parts for the plane maintenance department could contain a Plane class that is a composite of various part classes (see Figure 2-14).
NOTE 12. Next, change the name to MemberNumber, change the Class drop-down list to Integer, and click OK. 13. Repeat step 12 to add a FirstName string type, LastName string type, and Email string type attribute to the Member class. 14. Your completed diagram should be similar to the one shown in Figure 2-20. Save the file (File> Save). 37 Chapter2 Member MemberNumber:integer FirstName:string LastName:string Email: string Loan / 1 Makes a 1. 4 1 Contains a 1 \/ Item Book Movie Figure 2-20. Completed use case diagram Summary In this chapter you did the following: • Discussed the goals of the object -oriented design process • Explored UML • Became familiar with some of the design documents and diagrams produced using UML • Looked at how a Software Requirement Specification defines the scope of the system • Revealed how use case diagrams define the system boundaries and identify the external entities that will use the system 38 Designing OOP Solutions: Identifying the Class Structure • Saw how a class diagram models the structure of the classes that will be developed to implement the system • Discussed how the class diagram represents the various class associations In this chapter you looked at how you model the class structure of your applications.
One way you identify the classes is by looking at the noun phrases in the SRS document and the use case descriptions (more about this later in Chapter 4, "Designing OOP Solutions: A Case Study"). If you look at the documentation developed thus far for the airline booking application, you can begin to identify the classes that will comprise the system. For example, you can develop a Customer class to work with the customer data and a Flight class to work with the flight data. A class is responsible for managing data.