Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3760702
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:30:43+00:00 2026-05-19T10:30:43+00:00

Communication between form can be done in many ways using constructor using delegates etc

  • 0

Communication between form can be done in many ways using constructor using delegates etc in .net but my question is how can i access a value that is entered into a child form from a parent form or can a two way communication is possible between windows forms.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T10:30:44+00:00Added an answer on May 19, 2026 at 10:30 am

    Provide the values of the child form as properties that can be accessed from the parent form.

    E.g.

    using ( var form = new ChildForm() )
    {
        form.SomeValue = "abc";
        if ( form.ShowDialog(this) == DialogResult.OK )
        {
            var x = form.SomeValue;
        }
    }
    

    Use this block in your parent form to pass values to and from the child form.

    In the child form, the SomeValue property can map to e.g. a TextBox:

    public string SomeValue
    {
        get { return MyTextBox.Text.Trim(); }
        set { MyTextBox.Text = value; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What are the different ways of communication between asp.net page and a popup page?
I've designed an MVC that doesn't allow communication between Views (forms). If a form
I am trying to establish a basic .NET Remoting communication between 2x 64bit windows
I'm trying to communicate between two C# / .NET 3.5 applications using Windows Messages,
I have a design question about the communication between the model and the presenter
I have an AJAX post function I am using for my communication between my
I need to have two way communication between threads in Tcl and all I
There are lots of questions on how to improve communication between teams. One way
What communication is going on between Eclipse and my application server (JBoss) when I
I am having a problem with a Serial Port communication between Arduino Nano and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.