Page
NavigationWindow window = new NavigationWindow(); window.Source = new Uri("MainWindow1.xaml", UriKind.Relative); //mainwindow.ShowDialog();//模式,弹出! window.Show();//无模式,弹出!
Window
AddPersional addPersional = new AddPersional(); //这是新窗口的类 addPersional.Title = "新增设备负责人"; //这里可以给新窗口重新命名 addPersional.Show(); //无模式,弹出!