Ejemplo n.º 1
0
        internal void CmdAddSelected()
        {
            if (c_lbResults.SelectedIndices.Count > 0 && m_hLayerList != null)
            {
                List <LayerUri> oLayerUris = new List <LayerUri>();

                foreach (int iIndex in c_lbResults.SelectedIndices)
                {
                    oLayerUris.Add(m_aPages[m_iCurrentPage].Results[iIndex].Uri);
                }

                m_hLayerList.AddLayers(CreateLayerBuilders(oLayerUris));
            }
        }