コード例 #1
0
 public void WdRemoveAt(int index)                       // Since RemoveAt exists, it was referred to as WdRemoveAt.
 {
     if (this.InvokeRequired)
     {
         WdRemoveAtCallback d = new WdRemoveAtCallback(WdRemoveAt);
         this.Invoke(d, new object[] { index });
     }
     else
     {
         this.Items.RemoveAt(index);
     }
 }
コード例 #2
0
 public void WdRemoveAt(int index)
 {
     if (this.InvokeRequired)
     {
         WdRemoveAtCallback d = new WdRemoveAtCallback(WdRemoveAt);
         this.Invoke(d, new object[] { index });
     }
     else
     {
         this.Items.RemoveAt(index);
     }
 }