Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Network:
Windows 2008 Server
But that is only because Dotnet mimics VB[classic] code generation from the IDE.
You can program containership, even dynamically, in Dotnet through Ironpython for example.
Been there Done that ;-)
So while in reality you describe the majority of existing programs,
it is not because the fwk/platform is stupid, but because the tools/dev mental setup is geared otherwise.
>Most controls in .NET forms don't use a containership-model (like VFP does). All controls are actually just properties added to the form, even if they appear "inside" another control. (NOTE: that's not absolutely true everywhere); take a look at the code in the .designer files to see this. Another stumbling point is that, inside of a delegate (event), Me/this usually doesn't refer to the control that raised the event. That's why the event signature usually passes the source of the event as the first parameter.
Précédent
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