private void NotifyParentFinished() { // Get the window hosting us so we can ask it to close Window parentWindow = Window.GetWindow(this); parentWindow.Close(); }