private void RemoveItem()
 {
     if (this.InvokeRequired)
     {
         itemDelegate sd = new itemDelegate(RemoveItem);
         this.Invoke(sd, new object[] { });
     }
     else
     {
         this.Close();
     }
 }
 private void RemoveItem()
 {
     if (this.InvokeRequired)
     {
         itemDelegate sd = new itemDelegate(RemoveItem);
         this.Invoke(sd, new object[] { });
     }
     else
     {
         this.Close();
     }
 }
Exemple #3
0
 private static void regItem(string name, itemDelegate creatFun)
 {
     dListener[name] = creatFun;
 }