private void NotePopup_Closed(object sender, object e) { NoteClosed?.Invoke(this, EventArgs.Empty); HidePopupAnimation.Completed -= HidePopupAnimation_Completed; HidePopupAnimation.Completed += HidePopupAnimation_Completed; HidePopupAnimation.Begin(); }
protected virtual void OnNoteClosed(NoteEventArgs e) { NoteClosed?.Invoke(this, e); }