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. Visual Basic
  4. MDI Form ToolStripMenu

MDI Form ToolStripMenu

Scheduled Pinned Locked Moved Visual Basic
tutorialcsharpvisual-studio
2 Posts 2 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.
  • D Offline
    D Offline
    dpagka
    wrote on last edited by
    #1

    Hi to everybody I use Visual Studio 2005. I have an MDI form and when I open child forms I want their instances to be entered in a ToolStripMenu named Windows. For example when I will open Childform1 and Childform2 I want the dropdownitems of Windows ToolStripMenu to be Childform 1 and Childform 2. When I click to Childform 1 I want to show the Childform1 and when I click to Childform 2 to show the Childform2 and to hide (the other one). I can create the Items (runtime) but I cannot handle the click event since the object has been created runtime. Do you have any idea how to do it, or how to handle events of objects that has been created runtime.

    S 1 Reply Last reply
    0
    • D dpagka

      Hi to everybody I use Visual Studio 2005. I have an MDI form and when I open child forms I want their instances to be entered in a ToolStripMenu named Windows. For example when I will open Childform1 and Childform2 I want the dropdownitems of Windows ToolStripMenu to be Childform 1 and Childform 2. When I click to Childform 1 I want to show the Childform1 and when I click to Childform 2 to show the Childform2 and to hide (the other one). I can create the Items (runtime) but I cannot handle the click event since the object has been created runtime. Do you have any idea how to do it, or how to handle events of objects that has been created runtime.

      S Offline
      S Offline
      shreekar
      wrote on last edited by
      #2

      Search on Addhandler Shreekar

      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