private void buttonAllTime_Click(object sender, RoutedEventArgs e) { HideGrids(); AllDatePage p; if (SelectedId == null) { p = new AllDatePage(); } else { p = new AllDatePage(SelectedId); } GridAllTime.NavigationService.Navigate(p); GridAllTime.Visibility = Visibility.Visible; Singelton.MainWindow.ChangeStringAddres(Title + " > " + Application.Current.Resources[StringsMapper.HoursWorked]); }
private void buttonAllTime_Click(object sender, RoutedEventArgs e) { AllDatePage p = new AllDatePage(SelectedId); this.NavigationService.Navigate(p); }