public void Detach() { List.Changed -= new ChangeEventHandler(OnListChanged); List = null; }
public EventListener(ListWithChangedEvent _list) { List = _list; List.Changed += new ChangeEventHandler(OnListChanged); }
public void Detach() { List.Changed -= new ChangeEventHandler(OnListChanged); List = null; }
public EventListener(ListWithChangedEvent _list) { List = _list; List.Changed += new ChangeEventHandler(OnListChanged); }