MainWindow mainWindow = new MainWindow("/pages/ProductionInfo/ProductionFacts.xaml"); Window window = Window.GetWindow(this);//关闭父窗体 window.Close(); mainWindow.Show();
MainWindow mainWindow = new MainWindow("/pages/ProductionInfo/ProductionFacts.xaml"); Window window = Window.GetWindow(this);//关闭父窗体 window.Close(); mainWindow.Show();
转载于:https://www.cnblogs.com/siyunianhua/p/11474694.html