Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding Base Events in C#
Message
From
05/04/2002 20:30:45
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00641684
Message ID:
00641703
Views:
16
>In my inherited form I use private overrides void form1_Load() but I keep getting an error there is noo method to override. can anyone help me. Does overriding work like VFP(unless You say dodefault() in inherited form will it run the base event).


Hi, Fred.

You must declare the parentclass method as "virtual", in order to be able to use the overrided on the subclass.
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform