Changed Base Class of Wizard and WizardPage from UserControl

Wizard for Windows Forms Forum

Posted 14 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 14 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 14 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 14 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 14 years ago by Kuzmik Maxim - Russian, Saint-Petersburg
Avatar
Yes, thank's
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.