Exemple #1
0
 public static void SendToast(string text, int time)
 {
     ToastService ts   = new ToastService(text, TimeSpan.FromMilliseconds(time));
     var          task = ts.ShowAsync();
 }
Exemple #2
0
 public static async Task SendToastAsync(string text)
 {
     ToastService ts = new ToastService(text);
     await ts.ShowAsync();
 }
Exemple #3
0
 public static void SendToast(string text)
 {
     ToastService ts   = new ToastService(text);
     var          task = ts.ShowAsync();
 }