Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel displays all hidden controls
Message
De
05/08/2006 22:51:06
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Cancel displays all hidden controls
Divers
Thread ID:
01143283
Message ID:
01143283
Vues:
61
Hi,

I have a winforms mmMaintenanceForm where specific controls are intially Visible = false.

These are Shown/Hidded at runtime in a ComboBox SelectedIndexChanged event, depending on the SelectedValue.

When I do a Cancel, all hidden controls are shown, Visible = true.
The SelectedIndexChanged event isn't fired.

I moved the UI update code in the SelectedIndexChanged event into a private method, and called it again in the HookPostCancel event. Works fine but seems kludgey.

Any suggestions?

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform