Advertisement
rnort

Untitled

Sep 7th, 2012
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1.  private void ShowMessage(String message)
  2.         {
  3.          
  4.             Dispatcher.Invoke((ThreadStart)delegate
  5.             {
  6.                 ChatArea.Document.Blocks.Add(new Paragraph(new Run(message)));
  7.             });
  8.  
  9.          
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement