コード例 #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();
 }