public void Close() { // If this was a dialog box we need to reactivate the parent if (!(dialog_parent is null)) { dialog_parent.Activate(); dialog_parent = null; } window.Dispose(); }
public void Close() => window.Dispose();