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. How to Display Data (Urgent)

How to Display Data (Urgent)

Scheduled Pinned Locked Moved C#
comtutorial
4 Posts 4 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.
  • S Offline
    S Offline
    Sanjib Raj
    wrote on last edited by
    #1

    How to Display data from Child form to Parent Form Control. Sanjit.rajbanshi@wlinktech.com

    C J N 3 Replies Last reply
    0
    • S Sanjib Raj

      How to Display data from Child form to Parent Form Control. Sanjit.rajbanshi@wlinktech.com

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

      Well, you mean pass data, I presume ? If the child is modal, just expose it as a property. Otherwise, use a delegate to pass it along.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • S Sanjib Raj

        How to Display data from Child form to Parent Form Control. Sanjit.rajbanshi@wlinktech.com

        J Offline
        J Offline
        Jaiprakash M Bankolli
        wrote on last edited by
        #3

        I would suggest that create a property and assign this property in the child form. Use parent property to display at the required place

        Regards, Jaiprakash M Bankolli jaiprakash.bankolli@gmail.com Blog: http://jaiprakash.blog.com/ Suggestions: http://jaitoimprove.blog.com/

        1 Reply Last reply
        0
        • S Sanjib Raj

          How to Display data from Child form to Parent Form Control. Sanjit.rajbanshi@wlinktech.com

          N Offline
          N Offline
          Nouman Bhatti
          wrote on last edited by
          #4

          one way of doing that.. is to declare a object of parent form on the client form and access the properties of of parent from child through that object and do whatever u want to do. but u have to typecast that parent object on the child's parent object so that u get the same object reference other way of doing it (i think) is through delegates

          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