Esempio n. 1
0
        public WaitNotification NotifyWait()
        {
            var notification = new WaitNotification();

            notification.StartWaiting();
            return(notification);
        }
Esempio n. 2
0
        private void Notify(string message, NotificationType type = NotificationType.Information, string title = null)
        {
            title = string.IsNullOrEmpty(title) ? type.ToString() : title;
            var content = new NotificationContent()
            {
                Title   = title,
                Message = message,
                Type    = type
            };

            WaitNotification.EndWaiting();
            _notifyer.Show(content, areaName: "WindowArea");
        }