private void SetView(string displayName) { switch (displayName) { case "Thumbs": _viewHandler.SetThumbView(); break; case "Icons": _viewHandler.SetIconView(); break; default: _viewHandler.SetDetailsView(); break; } }