Example #1
0
 public void ShowToast(string title, string message = "")
 {
     Dispatcher.BeginInvoke(new Action(() => {
         Toast toast = new Toast();
         toast.SetValues(title, message);
         gdMain.Children.Add(toast);
     }));
 }
Example #2
0
 public void RemoveToast(Toast toast)
 {
     gdMain.Children.Remove(toast);
 }