Information générale
Catégorie:
The Mere Mortals .NET Framework
Hello All,
I have created a custom search control that I have placed on several forms. One of the properties of the control is a reference to the primary business object on the form. I have a RegisterBizobj method on my control that accepts a paramter of type ABusinessObject. But what I'm really passing is a subclass of ABusinessObject (a different class on each form). If I cast the parameter as ABusinessObject, I can't access any of the methods that are on my subclasses. Is there any way to get around this strict typing problem?
Thanks
Alan Jefferson
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement