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

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

            if (ts._prepared)
            {
                _ = ts.ShowAsync();
            }
        }