JackOfPH
asked on
Is there any way to access a control in the base class from the inherited class...
Hi!
Is there anyway I can access a particular control that is private in scope in the base class from the inherited class?
I know this is sound silly, but the reason I am asking this is because I don't have the source code of the base class and I need to put some value in that particular control.
Thank you, very much
Joseph
Is there anyway I can access a particular control that is private in scope in the base class from the inherited class?
I know this is sound silly, but the reason I am asking this is because I don't have the source code of the base class and I need to put some value in that particular control.
Thank you, very much
Joseph
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
here is a link on shadow that might clear up some things Shadow
The only other alternative would be to use reflection if it hasnt been prevented
ASKER
I think the only left for me to do is to use a decompiler and then compile the dll again...
Thanks for the input...
Thanks for the input...
ASKER
For example:
txtName is the name of the control...
What if I do this?
Private Shadow withevent txtname as new textbox1