一。创建一个新的窗口Document.xaml
二。主窗口为Window1.xaml
//click打开Document创建对象,并将Document窗口对象加到List<Document>中,Click1可以修改所有对象的内容
三、App.xaml
app,xaml.cs中创建保存Document对象的List
结果
wpf 主窗口创建多个子窗口并通过主程序进行管理
原文:https://www.cnblogs.com/sclu/p/12103865.html