C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
Today
    Last 7 Days more...






    Forums » .NET » .NET »

    Windows Application C#


    Posted Date: 21 Nov 2008      Posted By: Sachin Arora      Member Level: Silver     Points: 1   Responses: 1



    In Form1, there is a Textbox, Textbox1.Input in Textbox1 is entered at rutime by the user.Form1 has an instance of Form2 and thus generates Form2 when button is clicked in Form1.

    Form2 has a Label, Label1.I want that text in Label1 should be same as Text in Textbox1 of Form1 and thus should be generated at runtime .Explain how it is possible.





    Responses

    Author: Daniel Ward    21 Nov 2008Member Level: BronzeRating: 2 out of 52 out of 5     Points: 3

    Fairly simple procedure. i.e. button_click on form 1 initializes form2. Form2 constructor uses delegate type to request info from form1. Make sure the delegate call is in the form2 constructor.


    Post Reply

     This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.


    Next : K2 technology
    Previous : Looking for a Tutorial that helps show me how to write to an .mdb from an .asp
    Return to Discussion Forum
    Post New Message
    Category: .NET

    Related Messages



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use