1. I need to make a wizard like application and don't have a wizard control. So, instead, I plan to use a series of panels with the appropriate controls to represent each "page" in my wizard. Navigating through the pages will be done by making panels appear and disappear via the Visible property.
Depending on the conditions that launch the wizard, some of the pages may or may not be skipped. There is a possibility that something decided during the wizard execution may also determine if pages will or will not be skipped. I know for a fact that there is a need to be able to provide a "start over" function (go back to a predetermined point in the wizard).
So, what's the best way to implement this? I'm thinking a bunch of conditions evaluated at each Next or Back button clicks, but this approach may be hard to maintain and change (e.g. add or subtract pages) later on.
2. I have a Class A that inherits from Class B. Should the constructors in Class B be visible in Class A? I'm not seeing the constructors for some reason. Class B is a public class with public constructors. Also, if I have a Class A that inherits from Class B that inherits from Class C, does Class A see all the visible properties and methods of Class C?