Пример #1
0
        private void m_OnRefreshList(CkernelGateway kernelGateway)
        {
            InterfaceServer[] servers = krnGateway.GetServerList();
            if (servers == null)
            {
                Items.Clear();
                return;
            }
            foreach (InterfaceServer server in servers)
            {
                if (server != null)
                {
                    UpdateOrAddServer(server);
                }
            }

            /*not real time sorting
             * ListViewItemSorter = TheColumnSorter;
             * Sort();
             * ListViewItemSorter = null;*/
        }