Пример #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();
 }