private void buttonclick1(object sender, RoutedEventArgs e) { List <string> access = new List <string> { "13870", "1013414", "1020095" }; if (InputTextBox.Text == "13870") { Page2 page2 = new Page2(); this.NavigationService.Navigate(page2); } else { MessageBox.Show(" Incorrect Password "); InputTextBox.Text = ""; } }
private void buttonclick1(object sender, RoutedEventArgs e) { Page2 page2 = new Page2(); this.NavigationService.Navigate(page2); }
private void ButtonMapPageBack(object sender, RoutedEventArgs e) { Page2 page2 = new Page2(); this.NavigationService.Navigate(page2); }