阅读背景:

C# - 在WPF中将子窗口中的变量返回到父窗口

来源:互联网 

I have a main window called form1. in form1 I have a button, when it is pressed it will open form2 (form2.ShowDialog()). In form2 I have a button called "Check". When the user clicks on "Check" it should do some validation and if successful creates a string object and return it to form1. Any Ideas on how to implement this? I don't want to return anything when the user closes the window.I have a main window called form1. in form1 I h




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: