Beispiel #1
0
        private void OnLayerListUpdate(string oldKey, LayerListDto layerListDto)
        {
            var currentLayerListDto = _layerList
                                      .Single(x => x.Key == oldKey);

            _layerList.Remove(currentLayerListDto);
            _layerList.Add(layerListDto);

            objectListViewLayers.BuildList();
            objectListViewLayers.Sort(olvPriority, SortOrder.Ascending);
        }
Beispiel #2
0
        private void OnLayerListAdd(LayerListDto layerListDto)
        {
            _layerList.Add(layerListDto);

            objectListViewLayers.BuildList();
        }