public void ReloadList(bool reloadToServer) { if (reloadToServer) { krnGateway.RefreshSharedList(); } InterfaceFile[] shareds = krnGateway.GetSharedFileList(); Items.Clear(); if (shareds == null) { return; } lock (this) { foreach (InterfaceFile shared in shareds) { if (shared != null) { m_OnNewShared(shared); } } } this.ListViewItemSorter = TheColumnSorter; this.Sort(); this.ListViewItemSorter = null; }