private void HandlePintaCoreActionsLayersMoveLayerDownActivated(object sender, EventArgs e) { Document doc = PintaCore.Workspace.ActiveDocument; PintaCore.Tools.Commit(); SwapLayersHistoryItem hist = new SwapLayersHistoryItem("Menu.Layers.MoveLayerDown.png", Catalog.GetString("Move Layer Down"), doc.CurrentLayerIndex, doc.CurrentLayerIndex - 1); doc.MoveCurrentLayerDown(); doc.History.PushNewItem(hist); }