Hi SJTU Jason,
>>问题已经解决啦,主要是因为我在MainWindow里面没有把Page定义成全局变量,而是在button下定义成了Page page=new Page大家又不不懂的可以问我哦 微信longlong7024
很高兴知道你解决了。 如果您可以通过将您的解决方案标记为答案来关闭该主题,将不胜感激。 如果有人遇到类似问题,这将有助于其他成员快速找到解决方案。 如果您有新问题,可以开始新的主题。
Best Regards,
Yong Lu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.