Creating a Wizard Type Application
-
I am trying to make a wizard type application. For example, an install application will have multiple forms with a next button to go to the next form. The problem is that I don't know how to jump from form to form without the form being closed and removed from the start taskbar and the next one loaded. This causes continual movement in the taskbar, which is both anoying and potentially confusing to some users. Does anyone know how to go from form to form while keeping the same button in the start taskbar? I have tried to do a MDI type solution but it seems to be more of a pain. Just wondering if there is a typical way to do this. Mark Sanders
-
I am trying to make a wizard type application. For example, an install application will have multiple forms with a next button to go to the next form. The problem is that I don't know how to jump from form to form without the form being closed and removed from the start taskbar and the next one loaded. This causes continual movement in the taskbar, which is both anoying and potentially confusing to some users. Does anyone know how to go from form to form while keeping the same button in the start taskbar? I have tried to do a MDI type solution but it seems to be more of a pain. Just wondering if there is a typical way to do this. Mark Sanders
I can think of a couple of ways you could do this: The ShowInTaskbar property of a form will prevent it from displaying in the taskbar (when it's set to false). So you could have one blank form, set it to start minimized and prevent it from being maximized, then use that form to open all your other forms (which all have ShowInTaskbar = false) as you need them. No taskbar jiggling should happen. I think a better way to do it would be to forget about having multiple forms entirely and have just one form with a tab control. You can disable all the tabs so that the pages only get changed programatically when the user clicks the next button. The downside is if you wanted each form to be a different size, although you could make it resize through code it would be a pain to design.
-
I can think of a couple of ways you could do this: The ShowInTaskbar property of a form will prevent it from displaying in the taskbar (when it's set to false). So you could have one blank form, set it to start minimized and prevent it from being maximized, then use that form to open all your other forms (which all have ShowInTaskbar = false) as you need them. No taskbar jiggling should happen. I think a better way to do it would be to forget about having multiple forms entirely and have just one form with a tab control. You can disable all the tabs so that the pages only get changed programatically when the user clicks the next button. The downside is if you wanted each form to be a different size, although you could make it resize through code it would be a pain to design.