We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

i want to override my base class control event with my child class control event

Thread ID:

Created:

Platform:

Replies:

3775 Apr 8,2003 06:59 AM UTC Windows Forms 0
loading
Tags: FAQ
pawan jain
Asked On April 8, 2003 06:59 AM UTC

hi this is pawan here ... i have creat a base class which contains some controls like add delete and query , i have put sub access as public so my child class can use it and also have the some lines of codes attach with them ... now i inherites this class ( window form) so i can see the all control in my child class now i want that when i click on add button ( which is inheited from base class) should triger some lines of code then my base class code and then agian some code's of child class ... like // my base class public sub cmdadd_click(sendder,e) msgbox "hi this is base" end sub // child class private sub cmdadd_click( sendder , e) msgbox ("hi this is child") mybase.cmdadd_click(sendder,e) msgbox "hi this is again child") end sub above code give the out like --> hi this is base hi this is child hi this is base hi this is again child but i want the output like hi this is child hi this is base hi this is again child ...... i hope u understand my problemmm please rectify where i m wrong .... thanx pawan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;