John Baird
Coatesville, Pennsylvanie, États-Unis
Versions des environnements
>Open a new Winforms project. Add something to the automatically generated form1.cs. Now choose add new item to the project and when the dialog opens, choose windows forms, inherited form (name it form2), and then select form1. You will add a subclass of form1 to your project named form2. Which you can modify at will.
>
>Have you used VI? If so, did you run into localization issues when you "modified at will?"
The question I answered was a statement made by Naomi saying "There is not visual subclassing in c#". That's it. I pointed out one example proving her statement false. No one said its elegant, easy, etc.
And yes, we have numerous forms inheriting from baseclasses, and no we haven't had any problems.
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