I am trying to pass variable values from One WPF form1
to another WPF form2
. Both Forms are open at the same time.
But i did not find any method like Application.OpenForms
available for WinForms applications.
Someone referred me this link:
WPF version of Application.OpenForms
Using this link i am able to know open windows only. Is there any way to access value of a variable name age
from form1
to form2
?