Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Creating a Wizard Type Application

Creating a Wizard Type Application

Scheduled Pinned Locked Moved C#
tutorialhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark Sanders
    wrote on last edited by
    #1

    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

    W 1 Reply Last reply
    0
    • M 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

      W Offline
      W Offline
      Wjousts
      wrote on last edited by
      #2

      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.

      A 1 Reply Last reply
      0
      • W Wjousts

        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.

        A Offline
        A Offline
        Azel Low
        wrote on last edited by
        #3

        with regards to the Tab Control solution, is there a way to disable showing the tabs in the form? thanks

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups