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. Form: best way

Form: best way

Scheduled Pinned Locked Moved C#
helpquestion
2 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.
  • S Offline
    S Offline
    Stijn Goris
    wrote on last edited by
    #1

    Hi all, I'm creating this small tool and need some help on the form I ll be using. The tool consist out of a form that contains 3 buttons. When a button is clicked 'another' should be opened. The form needs to have the same sice and place as the previous one only the content (buttons, ...) need to change. Is there a proper way to do this? Do I best use a new form for each button clicked or do I use the same form and Hide or Show elements when needed? Maybee there is a better way? I hope someone can help me out. Regards Stijn

    P 1 Reply Last reply
    0
    • S Stijn Goris

      Hi all, I'm creating this small tool and need some help on the form I ll be using. The tool consist out of a form that contains 3 buttons. When a button is clicked 'another' should be opened. The form needs to have the same sice and place as the previous one only the content (buttons, ...) need to change. Is there a proper way to do this? Do I best use a new form for each button clicked or do I use the same form and Hide or Show elements when needed? Maybee there is a better way? I hope someone can help me out. Regards Stijn

      P Offline
      P Offline
      perlmunger
      wrote on last edited by
      #2

      You could just create a user control for each "page" that you want to display. Or you can use something like Al Gardner's Wizard Control -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

      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