Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh control between WinForms
Message
 
 
À
10/02/2009 21:50:16
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Divers
Thread ID:
01380662
Message ID:
01380834
Vues:
49
>>Is Form2 modal? Sounds like it should be. In that case, it has direct access to Form1's controls. They are all still in memory. I think you have to go into the generated part of Form1's code and change their scope from the default of private.
>
>IMO, its a bad idea to modify any generated code because everytime it gets regenerated you have to make your hacks again and again.

I certainly agree with that. Will make some time today to play around with two test forms and see if this can be done in an un-hacky way. At this point I'm not even sure when the code for a form control gets regenerated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform