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 holding

Form holding

Scheduled Pinned Locked Moved C#
helptutorialquestion
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.
  • H Offline
    H Offline
    hiremath71
    wrote on last edited by
    #1

    hi, I don no how to frame a question for this problem. e,g.I am having two forms like fr1,fr2 and one button bt1. through fr1 bt1 click event i wil open fr2. my question is unless I close the fr2 i should get acees to fr1. Pls help me.. With Regards Prasad:)

    O S 2 Replies Last reply
    0
    • H hiremath71

      hi, I don no how to frame a question for this problem. e,g.I am having two forms like fr1,fr2 and one button bt1. through fr1 bt1 click event i wil open fr2. my question is unless I close the fr2 i should get acees to fr1. Pls help me.. With Regards Prasad:)

      O Offline
      O Offline
      Obaid ur Rehman
      wrote on last edited by
      #2

      hiremath71 wrote:

      my question is unless I close the fr2 i should get acees to fr1.

      Instead of using fr2object.Show() method use fr2object.ShowDialog(this)

      1 Reply Last reply
      0
      • H hiremath71

        hi, I don no how to frame a question for this problem. e,g.I am having two forms like fr1,fr2 and one button bt1. through fr1 bt1 click event i wil open fr2. my question is unless I close the fr2 i should get acees to fr1. Pls help me.. With Regards Prasad:)

        S Offline
        S Offline
        Stefan Troschuetz
        wrote on last edited by
        #3

        I'm not sure I really understood what you want, but I'll give it a try. In case, you want the user to be able to access form1 while form2 is open, use the Show method to open form2. Otherwise use the ShowDialog method.


        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

        www.troschuetz.de

        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