public void WdClear() // Since RemoveAt exists, it was referred to as WdRemoveAt. { if (this.InvokeRequired) { WdClearCallback d = new WdClearCallback(WdClear); this.Invoke(d, new object[] { }); } else { this.Items.Clear(); } }
public void WdClear() { if (this.InvokeRequired) { WdClearCallback d = new WdClearCallback(WdClear); this.Invoke(d, new object[] { }); } else { this.Clear(); } }