Example #1
0
 public virtual void ListBoxClear(ListBox Object)
 {
     if (this.InvokeRequired)
     {
         ListBoxClearDelegate dele = new ListBoxClearDelegate(ListBoxClear2);
         this.Invoke(dele, new object[] { Object });
     }
     else
     {
         ListBoxClear2(Object);
     }
 }
Example #2
0
 public virtual void ListViewClear(ListBox Object)
 {
     if (this.InvokeRequired)
     {
         ListBoxClearDelegate dele = new ListBoxClearDelegate(ListBoxClear2);
         this.Invoke(dele, new object[] { Object });
     }
     else
     {
         ListBoxClear2(Object);
     }
 }