Beispiel #1
0
        public void RemoveLayer(string layerName)
        {
            for (int i = 0; i < GraphicsLayers.Count(); i++)
            {
                if (GraphicsLayers.ElementAt(i) == layerName)
                {
                    GraphicsLayers.RemoveAt(i);

                    InvalidateDraw();

                    break;
                }
            }
        }
Beispiel #2
0
        public void RemoveLayer(int index)
        {
            GraphicsLayers.RemoveAt(index);

            InvalidateDraw();
        }