Click here to Skip to main content
15,306,245 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have a label1 in form1 and a second label2 in form2. how i can move label1.text to label2.text ????thanksss.

1 solution

Simple: create a property in Form2 and set that from Form1. The property then puts the value in teh correct place.
See here: Transferring information between two forms, Part 1: Parent to Child[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900