public void Dispose() { VList.Clear(); FList.Clear(); VList = null; FList = null; }
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(); } }