Example #1
0
 public static void addItem(ListControl list, string text)
 {
     if (list == null || text == null || text == "") return;
     if (list.InvokeRequired)
         list.Invoke(new textHandler(uaddItem), list, text);
     else uaddItem(list, text);
 }
Example #2
0
 public static void removeItem(ListControl list, string text)
 {
     if (list == null) return;
     if (list.InvokeRequired)
         list.Invoke(new textHandler(uremoveItem), list, text);
     else uremoveItem(list, text);
 }