示例#1
0
 public void Dispose()
 {
     VList.Clear();
     FList.Clear();
     VList = null;
     FList = null;
 }
示例#2
0
 public void RemoveItemFromViewlist <T>(object item)
 {
     if (VList != null)
     {
         RemovedAt = VList.IndexOf((T)item);
         if (RemovedAt > -1)
         {
             VList.RemoveAt(RemovedAt);
         }
     }
     if (FList != null && FList.Count > 0)
     {
         FList.Clear();
     }
 }