June 2002
Intermediate to advanced
864 pages
18h 35m
English
Microsoft's .NET Framework supports an interesting new feature called Visual Inheritance. As you will recall from Chapter 5, inheritance allows you to build new classes that extend the functionality of their base class. In Windows Forms, Visual Inheritance allows you to create new forms by inheriting the appearance and functionality of existing forms. In the derived form, you can see the controls on the base form as well as add new controls. This is all accomplished using the Inherits keyword. For example, SomeNewForm can inherit the appearance, controls, events handling, etc. from SomeBaseForm by coding:
Public Class SomeNewForm Inherits SomeBaseForm ... End Class
In the following two subsections, we will discuss the development ...
Read now
Unlock full access