private void OnDialogDismissFinished() { DialogHidden?.Invoke(this, EventArgs.Empty); _hideSemaphore?.Release(); _hideSemaphore = null; OnHidden(); }
/// <inheritdoc /> public sealed override void DismissAllowingStateLoss() { DialogWillHide?.Invoke(this, EventArgs.Empty); CancelResult(); base.DismissAllowingStateLoss(); OnHidden(); DialogHidden?.Invoke(this, EventArgs.Empty); DialogsManager.CurrentlyDisplayedDialog = null; }
internal void HideInternal(bool fromHidden) { DialogWillHide?.Invoke(this, EventArgs.Empty); CancelResult(); if (!fromHidden) { base.Hide(); } OnHidden(); DialogHidden?.Invoke(this, EventArgs.Empty); DialogsManager.CurrentlyDisplayedDialog = null; }
private void OnDialogPresentationFinished() { DialogHidden?.Invoke(this, EventArgs.Empty); _hideSemaphore?.Release(); _hideSemaphore = null; }