Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Jim,
I think I get what you are saying here. If you add the pictures to the txtButtons container then the next time you want picture buttons you have to go to your button class and start over. Instead, if you subclassed button to pictureButton and then use the pictureButton's in the container, which gives you a nice pictureButton class for other uses also.
Do I have it right?
>They have problems with early composition as well as other things. The buttons have behavior code in the click events instead of the container having methods which are called from the click events. The buttons are not defined separately from the container. The txtButtons container is subclassed to provide picture buttons instead of teh buttons being subclassed and aasembled into a container after their definitions.
Précédent
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