Example #1
0
 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();
     }
 }
Example #2
0
 public void WdClear()
 {
     if (this.InvokeRequired)
     {
         WdClearCallback d = new WdClearCallback(WdClear);
         this.Invoke(d, new object[] { });
     }
     else
     {
         this.Clear();
     }
 }