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. Step by step wizard

Step by step wizard

Scheduled Pinned Locked Moved C#
data-structurestutorialquestionannouncement
4 Posts 2 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.
  • H Offline
    H Offline
    haolan
    wrote on last edited by
    #1

    Hi there. I am trying to create a step by step wizard, for a Windows Mobile 6.0 PDA. I have used forms as the steps. In my mainform I have a method that finds the next step from an array. There are three types of steps, and each steps can appear more than once in one session. When the last step is finished, the first step will be shown again. In an earlier program, I used panels as my steps, but it was a little difficult to manage each step in the same form window. In my new version, I am trying to use forms instead, but every time i click next, I can see a short blink, of the programs running in the background. When i click the next step button in the current step, the following code is used: mainForm.ShowNextStep(); this.Close(); ShowNextStep finds the next step and use nextStep.ShowDialog(); Is there anything I can do, so i wont see those short blinks, without using panels?

    C 1 Reply Last reply
    0
    • H haolan

      Hi there. I am trying to create a step by step wizard, for a Windows Mobile 6.0 PDA. I have used forms as the steps. In my mainform I have a method that finds the next step from an array. There are three types of steps, and each steps can appear more than once in one session. When the last step is finished, the first step will be shown again. In an earlier program, I used panels as my steps, but it was a little difficult to manage each step in the same form window. In my new version, I am trying to use forms instead, but every time i click next, I can see a short blink, of the programs running in the background. When i click the next step button in the current step, the following code is used: mainForm.ShowNextStep(); this.Close(); ShowNextStep finds the next step and use nextStep.ShowDialog(); Is there anything I can do, so i wont see those short blinks, without using panels?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You should use user controls, and place them all on the one form. I guess that's what you mean by panels ?

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      H 1 Reply Last reply
      0
      • C Christian Graus

        You should use user controls, and place them all on the one form. I guess that's what you mean by panels ?

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        H Offline
        H Offline
        haolan
        wrote on last edited by
        #3

        I used panels as before, thats why i wanted to change it to forms.. I never thought of using usercontrols.. So i will try that.. I am not really expericed in using those. Can u tell my how to place them and navigate through steps?

        H 1 Reply Last reply
        0
        • H haolan

          I used panels as before, thats why i wanted to change it to forms.. I never thought of using usercontrols.. So i will try that.. I am not really expericed in using those. Can u tell my how to place them and navigate through steps?

          H Offline
          H Offline
          haolan
          wrote on last edited by
          #4

          Never mind, I found out :) Thanks for a fast and great answer :)

          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