Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all i have created mdi windows application in vb.net , i created one base class form, from that base class i am creating many child form using inheritance. i have some function in my inherited child form , i need to call that function once my base class event fired.how i can do this task..

Example code will be grateful to me
Posted
Comments
Maciej Los 21-Jan-14 5:42am    
Share your code...
Rahul VB 21-Jan-14 7:35am    
sorry brother question not clear,

all i understood is that you want to call the overriden method in your base class. Am i correct?

1 solution

The base class event is fired in a child class instance.

So, you may add a handler to your child class event.
VB
AddHandler ChildForm.MyEvent, AddressOf ChildForm.SomeFunction
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900