Пример #1
0
 public static void SendToast(string text, TimeSpan time)
 {
     ToastService ts   = new ToastService(text, time);
     var          task = ts.ShowAsync();
 }
Пример #2
0
 public static void SendToast(string text, int timeInMill)
 {
     ToastService ts   = new ToastService(text, TimeSpan.FromMilliseconds(timeInMill));
     var          task = ts.ShowAsync();
 }
Пример #3
0
 public static void SendToast(string text)
 {
     ToastService ts   = new ToastService(text);
     var          task = ts.ShowAsync();
 }