Beispiel #1
0
 public void updatePublisherTopics(string id)
 {
     this.Invoke(new Action(() => {
         if (uxPubs.SelectedItem != null)
         {
             if (uxPubs.SelectedItem.ToString() == id)
             {
                 uxPubTopics.Items.Clear();
                 List <string> topics = controller.getPublisherTopicsByID(id);
                 foreach (string topic in topics)
                 {
                     uxPubTopics.Items.Add(topic);
                 }
             }
         }
     }));
 }