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