Exemple #1
0
        protected virtual void RaiseCompleted(ToastCompletedEventArgs e)
        {
            EventHandler <ToastCompletedEventArgs> handler = Completed;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 private void OnAsyncToastCompleted(object sender, ToastCompletedEventArgs e)
 {
     this.Completed -= OnAsyncToastCompleted;
     _showAsyncTaskCompletionSource.TrySetResult(e.DismissStatus);
 }