I am in the process of converting a ASP.Net Web App to a C# WinForm App. I am struggling converting a specific page. This page is a questionnaire where each answer(usually rdo) determines what the next question will be.
I originally had thought to just have all questions displayed and set the read-only property accordingly. Unfortunately there are far to many questions for that to work as I absolutely want to avoid making the end user have to scroll.
Then I thought I might group the changing questions onto panels and set the visible flag appropriately. This is working but it is quickly becoming a nightmare for "the next guy."
Next, I thought I could create a collection of all the question controls and build the form as they answer dynamically.
Is this a good idea?
How would I go about that?
ICollection?
Alternatively, am I over thinking this (a common problem) and there is a much simpler solution?
Do you need more detail first?
Thank You and Have a blessed day!