Exemplo n.º 1
0
        internal void AddNotice(string message, string url, string linkText)
        {
            var notice = new NoticeViewModel();

            notice.NoticeText          = message;
            notice.NoticeHyperlinkUrl  = url;
            notice.NoticeHyperlinkText = linkText;
            Window.Dispatcher.BeginInvoke((System.Windows.Forms.MethodInvoker) delegate { Notices.Add(notice); });
        }
Exemplo n.º 2
0
 internal void AddNotice(string message, string url, string linkText)
 {
     var notice = new NoticeViewModel();
     notice.NoticeText = message;
     notice.NoticeHyperlinkUrl = url;
     notice.NoticeHyperlinkText = linkText;
     Window.Dispatcher.BeginInvoke((MethodInvoker)delegate { Notices.Add(notice); });
 }