Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create an wpf window in this window I add frame and button that was out the frame
In this frame I put source page which contain text box
when I click the button it must take he text that is in the text box and show it in message box
I try

Request_Pages.PageEnterValue ev = new Request_Pages.PageEnterValue();
res = ev.tbValue.Text;
MessageBox.Show(res);


Request_Pages.PageEnterValue :is the page where the text box is
tbValue is the text box name

when I clicked the button the message box is empty
Posted
Updated 27-Nov-14 17:16pm
v2

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