Information générale
Titre:
Subclassing form controls
I just got done reading the thread on subclassing .NET base classes. Although I'm attempting to put a copy of all form controls into one class library, I can't seem to get them to be properly visible to my forms.
I've been through 4 different books (and .NET help) and none seem to provide a really good, understandable, step by step, approach to creating such a class library.
Can someone here give that a shot? I have a DLL (Assembly) created, can even get the controls into the toolbox but they won't drop on a form. I get a message about not referencing an object or some such thing.
Please start right with subclassing oh say a textbox and a button into one BaseFormControls class library, build it, associate it to another project where the forms will be, and create a toolbox where all of these controls can be placed so I only need to drag and drop them on a form.
Thanks,
Steve
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