Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance Question
Message
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Title:
Inheritance Question
Miscellaneous
Thread ID:
00977571
Message ID:
00977571
Views:
63
Mr. Newby @ .Net Here.

I finally figured out how to subclass a form in vb.Net.

I created a form, added the desired controls, and rebuilt
the form.

Next I selected 'Add', 'Add Inherited Form' from the right-click menu
on the Solution Explorer and from the 'Instance Picker' dialog, I selected
the form I wanted to inherit from.

At first, all seemed good. All controls on the base form appeared on the
inherited form. Yay! Yoo-Hoo! I'm a REAL programmer now!

But, DOOM! HEARTBREAK!

The sub routine I created in the base, 'MyBaseSub', does not appear in the
inherited form.

In VFP (Yes, I'm a VFP'r at heart) any public PEM's defined in the
parent class are visible in the child class.

Is this not to be? Where is my parent method?

Anyone want to guide this lost soul?

Thanks!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform