event の null チェックめんどい
public class EventTestClass { public event EventHandler NewEvent = delegate { }; protected void OnNewEvent() { NewEvent(this, EventArgs.Empty); } }http://www.dailycoding.com/Posts/avoiding_event__null_check.aspx
ふむふむ(あとで確かめる)
public class EventTestClass { public event EventHandler NewEvent = delegate { }; protected void OnNewEvent() { NewEvent(this, EventArgs.Empty); } }http://www.dailycoding.com/Posts/avoiding_event__null_check.aspx
ふむふむ(あとで確かめる)