public void UnRegister(GenneralEventHandler method) { NumberChanged -= method; }
public void Register(GenneralEventHandler method) { //注意这里:此处注册事件采用的是方法,而不再用+=了 NumberChanged = method; }