tags:

views:

12

answers:

1

hi, I'm having some trouble trying to inherit a control that uses an embedded resource. the trouble is - this control uses me.GetType() instead of GetType(ControlName). now when I try to use the derived control, it looks for the resources in the derived control's assembly, instead of the base control assembly, and obviously - doesn't find them.

how can I fix this?

A: 

You can try MyBase.GetType()

awe