Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture event when form re-activated
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Capture event when form re-activated
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01366727
Message ID:
01366727
Vues:
57
I have a form, which contains a tab page, from which a user can select a patient record and then open one or more data maintenance forms related to the selected patient. They are allowed to have multiple forms open but I don't want them to have one form open for one patient and another form open for a different patient. If the user comes back to the patient selection form while one of the maintenance forms is still open, I want to disable the patient selection grid. I have tried FormName.Activated(), FormName.Enter() and TabPageName.Enter() but none of them fires when I reactivate the form. I have managed to handle this another way but I'm sure I will need this behavior for something else one of these days. Where do I capture the reactivation of an open form? Thanks.
Linda Harmes
HiBit Technologies, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform