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