Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 13: Object-Oriented Programming
Last change: February 13 2016 18:47:42.

13.2 Inheriting Designed Forms

When coding applications for an organization, you may encounter a situation where many forms appear similar to each other. To avoid repetitive coding and visual design, you can create a template and then copy and modify the template to create the needed new forms. In VB 2008, you can also achieve copying from the template by inheritance. This section briefly introduces this approach, which involves the following steps:

You can then create and invoke the derived form in code similar to any other form.
Last change: February 13 2016 18:47:43.
  1. Inheritance Hierarchy
  2. Why Inheritance?
  3. An Inheritance Example
  4. Inheriting from VS 2008 Classes
  5. Creating Event Arguments
  6. Hiding Members from Classes Outside the Class Hierarchy
  7. The MustInherit and NotIneritable Classes
  • 13.2 Inheriting Designed Forms
    1. The Bank Deposit Form: A Data Entry Form Example
    2. <<PreviousNext>>