Click here to Skip to main content
15,918,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a WPF application with two windows,
First window contains:
1.User name and 2. Password text boxes
3.one login button

so when the user enters username and password and clicks on login button in first window, second window gets opened.

so in second window i want to display the login user name

how can i do that can any1 please provide me a solution as am new to C#?
Posted

 
Share this answer
 
Comments
Member 10593922 29-Apr-14 3:26am    
Thank u for the reply
First form is Parent, second form is Child: Transferring information between two forms, Part 1: Parent to Child[^]
 
Share this answer
 
Comments
Member 10593922 29-Apr-14 3:26am    
Thank u for the reply
OriginalGriff 29-Apr-14 3:34am    
You're welcome!

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