In WPF, I open window2 from window1 with a button click keeping window1 open. When I close window2, I want to display 2 values in window1. How can this be achieved?
You would display the second window as a modal dialogue and then get the desired data from properties of that window. Follow the Blog link in my signature below and check out my posts on Multiple Forms. It was written with Windows Forms in mind but the principles are exactly the same for WPF.
P.S. Be sure to read all three parts of that blog series.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.