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. MDI Parent and Child Problem

MDI Parent and Child Problem

Scheduled Pinned Locked Moved C#
helpquestion
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
    D i x y
    wrote on last edited by
    #1

    I am developing an windows application where i have an MDI parent form that has menu strip i want that what ever option i have select from menu strip that may effect on MDI child form. Suppose that I have a label control on the child form i what to change the text color of that label then i have selected the option from menustrip that is in MDIparent so how can i show color dialog from MDI parent that can work for MDI Child form...

    C 1 Reply Last reply
    0
    • D D i x y

      I am developing an windows application where i have an MDI parent form that has menu strip i want that what ever option i have select from menu strip that may effect on MDI child form. Suppose that I have a label control on the child form i what to change the text color of that label then i have selected the option from menustrip that is in MDIparent so how can i show color dialog from MDI parent that can work for MDI Child form...

      C Offline
      C Offline
      Christian Wikander
      wrote on last edited by
      #2

      I would accomplish this with events. Create events for all toolbar buttons on the MDI parent and have the child forms listen to the events that they can make something out of. That way you do not need to check if the currently active child form can handle the function that the user is clicking.

      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