Exemple #1
0
        public NotificationPanelCall(string title, string message, core.StatusColor color, int second)
        {
            Application.Current.Dispatcher.Invoke((Action) delegate {
                if (newNotify != null)

                {
                    newNotify.Close();
                    newNotify = new NotificationPanel(title, message, color, second);
                }
                else
                {
                    newNotify = new NotificationPanel(title, message, color, second);
                }

                newNotify.Show();
            });
        }
Exemple #2
0
 private void NotificationShow(string Title, string Message, core.StatusColor Status, int Second)
 {
     notifyCall = new NotificationPanelCall(Title, Message, Status, Second);
 }