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. problem with windows appln

problem with windows appln

Scheduled Pinned Locked Moved C#
helptutorial
12 Posts 7 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.
  • U Offline
    U Offline
    User 3055467
    wrote on last edited by
    #1

    Hi, I am working on a windows application. The requirement that's troubling me is I have an MDI form(Parent form) using which I can navigate to other forms.The view should be in such a way that when the user clicks a menu item--Users Management the window should not open seperately but with in the form. A very good example for this is in web application we have master pages which is common for all the pages. when the user clicks a link only the content in child page changes. Thanks in advance

    M N M 3 Replies Last reply
    0
    • U User 3055467

      Hi, I am working on a windows application. The requirement that's troubling me is I have an MDI form(Parent form) using which I can navigate to other forms.The view should be in such a way that when the user clicks a menu item--Users Management the window should not open seperately but with in the form. A very good example for this is in web application we have master pages which is common for all the pages. when the user clicks a link only the content in child page changes. Thanks in advance

      M Offline
      M Offline
      Michael Bookatz
      wrote on last edited by
      #2

      two options that come to mind, 1) Using a tabbed form 2) Panels, then hide and show the panel you want

      Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [31/Jul/2009] 107.7kg Target weight : 80kg Only 28 TO go hope to be there by March Wish me luck!

      U B 2 Replies Last reply
      0
      • M Michael Bookatz

        two options that come to mind, 1) Using a tabbed form 2) Panels, then hide and show the panel you want

        Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [31/Jul/2009] 107.7kg Target weight : 80kg Only 28 TO go hope to be there by March Wish me luck!

        U Offline
        U Offline
        User 3055467
        wrote on last edited by
        #3

        Hi, Thanks a lot for replying so soon. but i need a mini,max,close buttons on the top like a normal windows form.

        1 Reply Last reply
        0
        • U User 3055467

          Hi, I am working on a windows application. The requirement that's troubling me is I have an MDI form(Parent form) using which I can navigate to other forms.The view should be in such a way that when the user clicks a menu item--Users Management the window should not open seperately but with in the form. A very good example for this is in web application we have master pages which is common for all the pages. when the user clicks a link only the content in child page changes. Thanks in advance

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          You mean something like this[^]


          only two letters away from being an asset

          U M 2 Replies Last reply
          0
          • N Not Active

            You mean something like this[^]


            only two letters away from being an asset

            U Offline
            U Offline
            User 3055467
            wrote on last edited by
            #5

            Yeah almost same ... Thank You

            1 Reply Last reply
            0
            • U User 3055467

              Hi, I am working on a windows application. The requirement that's troubling me is I have an MDI form(Parent form) using which I can navigate to other forms.The view should be in such a way that when the user clicks a menu item--Users Management the window should not open seperately but with in the form. A very good example for this is in web application we have master pages which is common for all the pages. when the user clicks a link only the content in child page changes. Thanks in advance

              M Offline
              M Offline
              Mike Ellison
              wrote on last edited by
              #6

              I think you're looking for the Form.MdiParent property. Set it for the child form to be the parent form and the relationship is set.

              MishaInTheCloud.blogspot.com

              U 1 Reply Last reply
              0
              • N Not Active

                You mean something like this[^]


                only two letters away from being an asset

                M Offline
                M Offline
                Mycroft Holmes
                wrote on last edited by
                #7

                You must have really got up someones nose - a whole bunch of univotes on your article. Obviously before the comment requirement was put in place

                Never underestimate the power of human stupidity RAH

                N 1 Reply Last reply
                0
                • M Mycroft Holmes

                  You must have really got up someones nose - a whole bunch of univotes on your article. Obviously before the comment requirement was put in place

                  Never underestimate the power of human stupidity RAH

                  N Offline
                  N Offline
                  Not Active
                  wrote on last edited by
                  #8

                  Yeah, people can be childish at time. I just take an aggrevate view and not worry about these people.


                  only two letters away from being an asset

                  1 Reply Last reply
                  0
                  • M Michael Bookatz

                    two options that come to mind, 1) Using a tabbed form 2) Panels, then hide and show the panel you want

                    Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [31/Jul/2009] 107.7kg Target weight : 80kg Only 28 TO go hope to be there by March Wish me luck!

                    B Offline
                    B Offline
                    Baeltazor
                    wrote on last edited by
                    #9

                    Wow! Good luck! :-D :thumbsup:

                    Regards, Jason Pezzimenti.


                    1 Reply Last reply
                    0
                    • M Mike Ellison

                      I think you're looking for the Form.MdiParent property. Set it for the child form to be the parent form and the relationship is set.

                      MishaInTheCloud.blogspot.com

                      U Offline
                      U Offline
                      User 3055467
                      wrote on last edited by
                      #10

                      Hi, I did not understand what you are saying.Can you tell in detail. Let me explain the requirement once again. when the form is in maximised mode the control box(min,max and restore buttons) of the form should be displayed adjacent to menu bar In minimised mode the form can be displayed as usual. My code is given below. ChildForm ChildFrm= new ChildForm (); ChildFrm.MdiParent = this; ChildFrm.TopLevel = false; splitContainer1.Panel2.Controls.Add(ChildFrm); ChildFrm.Show(); I've added the Child form to panel2 in split container as I need the form to be displayed in that panel.In minimised mode the form should be movable with in that panel.A very good example of this is Edit plus. Waiting for your reply

                      F 1 Reply Last reply
                      0
                      • U User 3055467

                        Hi, I did not understand what you are saying.Can you tell in detail. Let me explain the requirement once again. when the form is in maximised mode the control box(min,max and restore buttons) of the form should be displayed adjacent to menu bar In minimised mode the form can be displayed as usual. My code is given below. ChildForm ChildFrm= new ChildForm (); ChildFrm.MdiParent = this; ChildFrm.TopLevel = false; splitContainer1.Panel2.Controls.Add(ChildFrm); ChildFrm.Show(); I've added the Child form to panel2 in split container as I need the form to be displayed in that panel.In minimised mode the form should be movable with in that panel.A very good example of this is Edit plus. Waiting for your reply

                        F Offline
                        F Offline
                        for1206
                        wrote on last edited by
                        #11

                        Hi Member, The thing is MDI Form is used as Parent Form .and the child forms u can show in it. So u can cascade all the child forms,etc in the main Form . So make a good design before going in to the coding part. Regards,

                        For1206

                        U 1 Reply Last reply
                        0
                        • F for1206

                          Hi Member, The thing is MDI Form is used as Parent Form .and the child forms u can show in it. So u can cascade all the child forms,etc in the main Form . So make a good design before going in to the coding part. Regards,

                          For1206

                          U Offline
                          U Offline
                          User 3055467
                          wrote on last edited by
                          #12

                          Hi, Thanks a lot. The soln you gave is not in detail. can you please explain in detail. What do you mean by cascade regards Member 3057887

                          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