//返回首页 private void BackHoem() { GlobalCodeBuilder.ProcessNum = 1; var newWindow = new MainWindow(); newWindow.Show(); this.Close(); }
//打开新窗体 private void OpenNewWin() { var newWindow = new MainWindow(); newWindow.Show(); this.Close(); }