General information
Category:
The Mere Mortals .NET Framework
Title:
Cancel displays all hidden controls
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!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only