public MainPage() { this.InitializeComponent(); App.Customers.Add(new Customer() { Name = "Björn Johansson", PNr = 8912022738 }); App.Customers.Add(new Customer() { Name = "Fredrik Karlsson", PNr = 9202131242 }); App.Customers.Add(new Customer() { Name = "Amanda Andersson", PNr = 9412038234 }); App.Customers.Add(new Customer() { Name = "Alexander Johansson", PNr = 8205021523 }); App.Customers.Add(new Customer() { Name = "Alex Larsen", PNr = 6305151526 }); App.Customers.Add(new Customer() { Name = "Anders Larsson", PNr = 6908172592 }); App.Customers.Add(new Customer() { Name = "Anders Ohlsen", PNr = 7811022849 }); App.Customers.Add(new Customer() { Name = "Pontus Fyhrberg", PNr = 7412199572 }); //CustomersListView.ItemsSource = App.Customers.OrderBy(x => x.Name); NavigationDetail.Navigate(typeof(Startsida)); //string appName = Windows.ApplicationModel.Package.Current.DisplayName; }
private void TextBlock_Tapped_3(object sender, TappedRoutedEventArgs e) { NavigationDetail.Navigate(typeof(Redigera)); MySplitView.IsPaneOpen = false; }
private void Registrera_Tapped_1(object sender, TappedRoutedEventArgs e) { NavigationDetail.Navigate(typeof(Registrera)); MySplitView.IsPaneOpen = false; }
private void Startsida_Tapped(object sender, TappedRoutedEventArgs e) { NavigationDetail.Navigate(typeof(Startsida)); MySplitView.IsPaneOpen = false; }