private void ClearPopAttachments() { if (this.PopAttachments.InvokeRequired) { ClearPopAttachmentsEventHandler obj = new ClearPopAttachmentsEventHandler(this.ClearPopAttachments); this.Invoke(obj, new object[] { }); } else { this.PopAttachments.Items.Clear(); } }
private void ClearPopAttachments() { if (this.PopAttachments.InvokeRequired) { ClearPopAttachmentsEventHandler obj = new ClearPopAttachmentsEventHandler(this.ClearPopAttachments); this.Invoke(obj, new object[] { }); } else { this.PopAttachments.Items.Clear(); } }