摘要: 忽然觉得ObservableDictionary好像很有用,只是sl里好像没有,算了,自己写一个吧,bug未知,性能未知。 public class ObservableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, INotifyCollectionChanged { public event NotifyCollectionChangedEventHandler CollectionChanged; private int _index; public new TValue this[TKey key] { 阅读全文
posted @ 2011-01-05 19:36 超时空饭盒 阅读(3156) 评论(0) 推荐(0) 编辑