Is there any way to access a control in the base class from the inherited class...


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

LVL 15
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

To be short No sorry.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JackOfPHAuthor Commented:
What happen if i shadow the control?

For example:

txtName is the name of the control...

What if I do this?

Private Shadow withevent txtname as new textbox1
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
JackOfPHAuthor Commented:
I think the only left for me to do is to use a decompiler and then compile the dll again...

Thanks for the input...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.