public void Unregister(MailManager mm) { mm.NewMail -= FaxMsg; //mm.remove_NewMail(new EventHandler<NewMailEventArgs>(FaxMsg)); }
// 构造函数 , 将自己注册进NewMail public Fax(MailManager mm) { mm.NewMail += FaxMsg; }