/// <summary> /// Method to navigate to users list view. /// </summary> /// <param name="sender">The <see cref="object"/> sender of the event.</param> /// <param name="e">The routed event arguments <see cref="RoutedEventArgs"/>.</param> private void NavigateToUsers_Click(object sender, RoutedEventArgs e) { ComponentNavigator.NavigateToUsers(); }
/// <summary> /// Method to navigate to the Users component view. /// </summary> /// <param name="sender">The <see cref="object"/> sender of the event.</param> /// <param name="e">The routed event arguments <see cref="RoutedEventArgs"/></param> private void NavigateToUsers_Click(object sender, RoutedEventArgs e) { ComponentNavigator.NavigateToUsers(); SwitchSelected(((Button)sender)); }