Exemple #1
0
 private void UpdateTopic(string topic)
 {
     if (this.InvokeRequired)
     {
         ChangeTopicDelegate c = new ChangeTopicDelegate(UpdateTopic);
         this.Invoke(c, new object[] { topic });
     }
     else
     {
         channelTopic = topic;
         textTopic.ClearTextWindow();
         //get the topic color
         textTopic.AppendText(topic, 1);
     }
 }