Page 97 - Programming VB.NET
P. 97
Code With VB.Net 93
9.2.1 Inheritance Application
Step 1: Design the interface as shown in Figure 9.3.
Add two classes and named it as First.vb and
Second.vb
Step 2: Set the objects and properties as shown in
Table 9.3.
Step 3: Plan the event procedures as shown in
Table 9.4.
Step 4: Write the code
Step 5: Save and run the project.
Figure 9.3 Graphical User Interface