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. Forms Question

Forms Question

Scheduled Pinned Locked Moved C#
questionworkspace
4 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.
  • G Offline
    G Offline
    gekoscan
    wrote on last edited by
    #1

    I was wondering if a person wanted to display something similar to a wizard setup form with a next button that showed a different set of controls on the form depending on how many times the next button was pressed how would it be done. I am using panels right now and flipping back and forth but I am intersted in just doing it with multiple forms. I find panels messy to develope with. Thanks, Steve

    K J G 3 Replies Last reply
    0
    • G gekoscan

      I was wondering if a person wanted to display something similar to a wizard setup form with a next button that showed a different set of controls on the form depending on how many times the next button was pressed how would it be done. I am using panels right now and flipping back and forth but I am intersted in just doing it with multiple forms. I find panels messy to develope with. Thanks, Steve

      K Offline
      K Offline
      Kannan Kalyanaraman
      wrote on last edited by
      #2

      If you are looking for a Wizard style UI, the below links can help. http://www.codeproject.com/cs/miscctrl/TSWizard.asp[^] http://www.dotnetmagic.com/[^] Cheers, Kannan

      1 Reply Last reply
      0
      • G gekoscan

        I was wondering if a person wanted to display something similar to a wizard setup form with a next button that showed a different set of controls on the form depending on how many times the next button was pressed how would it be done. I am using panels right now and flipping back and forth but I am intersted in just doing it with multiple forms. I find panels messy to develope with. Thanks, Steve

        J Offline
        J Offline
        James T Johnson
        wrote on last edited by
        #3

        There are several ways to go about it. One is to use panels like you are now, as you noted it is clumsy to work with. Another way is to base your wizard on the TabControl, then you can create each of your steps as a tab on the control. Yet another way (and the way *plug plug* my wizard framework[^] uses) is based on User Controls, where each step is a separate User Control. I have a specialized form that handles all of the work of switching in and out, you just need to handle a few events to tell it how it should work. James "It is self repeating, of unknown pattern" Data - Star Trek: The Next Generation

        1 Reply Last reply
        0
        • G gekoscan

          I was wondering if a person wanted to display something similar to a wizard setup form with a next button that showed a different set of controls on the form depending on how many times the next button was pressed how would it be done. I am using panels right now and flipping back and forth but I am intersted in just doing it with multiple forms. I find panels messy to develope with. Thanks, Steve

          G Offline
          G Offline
          gekoscan
          wrote on last edited by
          #4

          Thanks for the help...

          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