private bool Exit() { // If any settings have been changed, show a dialogue asking if the changes should be kept or // discarded. if (!CompareSettings()) { backConfirmationBox.PopupCenteredShrink(); return(false); } EmitSignal(nameof(OnOptionsClosed)); return(true); }
public void Open() { ResetForm(); dialog.PopupCenteredShrink(); }