public void Execute(object parameter) { foreach (Window window in Application.Current.Windows) { if (window is ImportedWindow) { window.Close(); var importedWin = new ImportedWindow(); importedWin.Show(); } } }
public void ShowImportedView() { var importedWin = new ImportedWindow(); importedWin.Show(); }