Esempio n. 1
0
        private void OnLayerMoveDropDownClick(object sender, ToolStripItemClickedEventArgs e)
        {
            e.ClickedItem.OwnerItem.Owner.Hide();
            switch (e.ClickedItem.Name)
            {
            case "itemMoveTop":
                _mapLayersHandler.MoveToTop();
                break;

            case "itemMoveBottom":
                _mapLayersHandler.MoveToBottom();
                break;

            case "itemMoveUp":
                _mapLayersHandler.MoveUp();
                break;

            case "itemMoveDown":
                _mapLayersHandler.MoveDown();
                break;
            }
            RefreshLayerList();
        }