protected void Navigate(NavigationMenu menu) { if (currentMenu != null) { currentMenu.NavigateFrom(); } currentMenu = menu; currentMenu.NavigateTo(); }