/// <summary> /// Удалить выбраннй слой /// </summary> public void DeleteSelectedLayer() { RevercedLayerList.Remove(SelectedLayer); LayerList.Remove(SelectedLayer); SelectedLayer.Destroy(); SelectedLayer = null; ChooseLayer(RevercedLayerList[0]); }