C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Trasferring Values From One Form to another


Posted Date: 04 Aug 2008    Resource Type: Code Snippets    Category: Winforms Controls
Author: InitiotechMember Level: Gold    
Rating: Points: 10



This code will help you to Trasfer Values From One Form to another
Using Winforms.

This is an simple Scenario where The First Form Has a Button and A text box


When the user clicks on the Button the second form pops up which has only one textbox when the user types in the Second Forms textbox and closes the Form the Textbox value passes to the First Form's textbox.


Private Sub Form2_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Form1.TextBox1.Text = TextBox1.Text
End Sub


Attachments

  • Download Source Code (20042-4556-S.rar)



  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Transferring textbox values  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Process List Control
    Previous Resource: To Create Dynamic Text Box
    Return to Discussion Resource Index
    Post New Resource
    Category: Winforms Controls


    Post resources and earn money!
     
    Related Resources



    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use