private void SetCurrentLayer(int layerId) { _data.RequestRefresh(_requestedLayerId = layerId); for (var i = 0; i < _layerButtons.Count; i++) { _layerButtons[i].Checked = i == layerId; } }