예제 #1
0
        public static void SendToast(string text, int timeInMill)
        {
            ToastService ts = new ToastService(text, TimeSpan.FromMilliseconds(timeInMill));

            if (ts._prepared)
            {
                _ = ts.ShowAsync();
            }
        }
예제 #2
0
        public static void SendToast(string text, TimeSpan time)
        {
            ToastService ts = new ToastService(text, time);

            if (ts._prepared)
            {
                _ = ts.ShowAsync();
            }
        }
예제 #3
0
 public static void SendToast(string text, int timeInMill)
 {
     ToastService ts   = new ToastService(text, TimeSpan.FromMilliseconds(timeInMill));
     var          task = ts.ShowAsync();
 }
예제 #4
0
 public static void SendToast(string text, TimeSpan time)
 {
     ToastService ts   = new ToastService(text, time);
     var          task = ts.ShowAsync();
 }
예제 #5
0
 public static void SendToast(string text)
 {
     ToastService ts   = new ToastService(text);
     var          task = ts.ShowAsync();
 }