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. Vales from parent to child and vice versa

Vales from parent to child and vice versa

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studio
4 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.
  • R Offline
    R Offline
    rajulama
    wrote on last edited by
    #1

    I just wonder if there is any universal way to make a child form accepting values from parent form and parent form accepting values from child form. I am using visual studio 2008.

    C 1 Reply Last reply
    0
    • R rajulama

      I just wonder if there is any universal way to make a child form accepting values from parent form and parent form accepting values from child form. I am using visual studio 2008.

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

      Use delegates to send a message from child to parent, just access methods and properties of the child from the parent.

      R 1 Reply Last reply
      0
      • C Christian Graus

        Use delegates to send a message from child to parent, just access methods and properties of the child from the parent.

        R Offline
        R Offline
        rajulama
        wrote on last edited by
        #3

        thanks for your answer. Could you please give me an example?

        C 1 Reply Last reply
        0
        • R rajulama

          thanks for your answer. Could you please give me an example?

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Google broken where you live ? There's an article on CP on communication between forms, I suggest you look that up, it will go into more detail than I will go into for a forum reply.

          Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

          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