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. How to Show Form

How to Show Form

Scheduled Pinned Locked Moved C#
helptutorial
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.
  • A Offline
    A Offline
    A Asif
    wrote on last edited by
    #1

    Hi All, I have two forms in my app. I need to have functionality that when i click on nextButton on formA, formB should show and fromA should either hide it self or unload. Please help. thanks, Asif.

    A.Asif

    R A 2 Replies Last reply
    0
    • A A Asif

      Hi All, I have two forms in my app. I need to have functionality that when i click on nextButton on formA, formB should show and fromA should either hide it self or unload. Please help. thanks, Asif.

      A.Asif

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      Set the forms' .Visible property. /ravi

      This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

      1 Reply Last reply
      0
      • A A Asif

        Hi All, I have two forms in my app. I need to have functionality that when i click on nextButton on formA, formB should show and fromA should either hide it self or unload. Please help. thanks, Asif.

        A.Asif

        A Offline
        A Offline
        Anthony Mushrow
        wrote on last edited by
        #3

        Yup. Visible property would be good. Try something like this: this.Visible = false; FormB newForm = new FormB(); newForm.ShowDialog(); this.Visible = true;

        My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

        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