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. navigation among forms in windows application

navigation among forms in windows application

Scheduled Pinned Locked Moved C#
lounge
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
    Aankur Bbansal
    wrote on last edited by
    #1

    :zzz: I want to close a form after showing another form from this form and other form still shown. (in general whole application is closed) ankur bansal

    S L 2 Replies Last reply
    0
    • A Aankur Bbansal

      :zzz: I want to close a form after showing another form from this form and other form still shown. (in general whole application is closed) ankur bansal

      S Offline
      S Offline
      Samer Aburabie
      wrote on last edited by
      #2

      It depends on what you want, taking in consideration that there is a main form that shouldn't be closed, other forms could be, and you have the option of closing the forms or hiding them, preferrably is to close them of course except the main form which should be just hidden.

      Sincerely Samer Abu Rabie Imagination is more important than knowledge !

      1 Reply Last reply
      0
      • A Aankur Bbansal

        :zzz: I want to close a form after showing another form from this form and other form still shown. (in general whole application is closed) ankur bansal

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        You can use your form as application. In Program.cs file you can write it one by one. Application.Run(new Form1()); Application.Run(new Form2());

        If you can think then I Can.

        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