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. need some quick help thx : how can i access and open form2 from form1 menu item

need some quick help thx : how can i access and open form2 from form1 menu item

Scheduled Pinned Locked Moved C#
helpdesignquestion
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.
  • K Offline
    K Offline
    KIM K
    wrote on last edited by
    #1

    in form1 i got menu : File option help open fix form2 fix how can i access fix design window from form1-> menu-> fix. you know, you press and choice fix from option menu in form1 and form2 fix will be opened thx. :)

    N R 2 Replies Last reply
    0
    • K KIM K

      in form1 i got menu : File option help open fix form2 fix how can i access fix design window from form1-> menu-> fix. you know, you press and choice fix from option menu in form1 and form2 fix will be opened thx. :)

      N Offline
      N Offline
      nagendrathecoder
      wrote on last edited by
      #2

      Read documentation from net on Menu control first, you come to know how to do it.

      1 Reply Last reply
      0
      • K KIM K

        in form1 i got menu : File option help open fix form2 fix how can i access fix design window from form1-> menu-> fix. you know, you press and choice fix from option menu in form1 and form2 fix will be opened thx. :)

        R Offline
        R Offline
        Rick van Woudenberg
        wrote on last edited by
        #3

        Double click on the menu button in your designer. This will create an EventHandler. Inside the EventHandler, put the following code :

        private void OpenFix_Click(object sender, System.EventArgs e)
        {
        Form2 fix = new Form2();
        fix.Open();
        }

        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