Exemple #1
0
 /// <summary>
 /// clears the chatbox.
 /// </summary>
 private void ClearChatlog()
 {
     if (Chatbox.IsDisposed)
     {
         return;
     }
     if (Chatbox.InvokeRequired)
     {
         Chatbox.Invoke(new Action(() => { Chatbox.Clear(); }));
     }
     else
     {
         Chatbox.Clear();
     }
 }