public void ClearItems() { if (this.InvokeRequired) { ClearItemsCallback d = new ClearItemsCallback(ClearItems); this.Invoke(d, new object[] { }); } else { this.Items.Clear(); } }
private void ClearItems() { if (BuildListView.InvokeRequired) { ClearItemsCallback d = ClearItems; Invoke(d, new object[] {}); } else { BuildListView.Items.Clear(); } }