private void ActionLayer(ActionWithLayer action) { if (action == ActionWithLayer.Up) { UpZindexButton(); } else if (action == ActionWithLayer.Down) { DownZindexButton(); } }
public MoveLayer(ActionWithLayer action) { Action = action; }