Changed Base Class of Wizard and WizardPage from UserControl

Wizard for Windows Forms Forum

Posted 19 years ago by Kuzmik Maxim - Russian, Saint-Petersburg
Avatar
"Since both the Wizard and WizardPage classes now have a base class of UIControl instead of UserControl, the Load event is no longer available on them."

Question - What event I may use instead Load

Comments (4)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
What sort of initializations were you doing in Load? Can you do them in the Load event of the containing Form?


Actipro Software Support

Posted 19 years ago by Kuzmik Maxim - Russian, Saint-Petersburg
Avatar
I was used this event to feeling the default value on some component on next WizardPage:

then i click Next button, on the WizardPage that wiil be displayed feeling some components value
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
UserControl.Load only fired the first time a control was displayed. It's probably better anyhow if you use like the SelectionChanging event to update your pages. In that you get a parameter that tells you the page about to be selected. You can update the information there.

Would that work for you?


Actipro Software Support

Posted 19 years ago by Kuzmik Maxim - Russian, Saint-Petersburg
Avatar
Yes, thank's
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.