Example #1
0
        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 = "";
            }
        }
Example #2
0
        private void buttonclick1(object sender, RoutedEventArgs e)
        {
            Page2 page2 = new Page2();

            this.NavigationService.Navigate(page2);
        }
Example #3
0
        private void ButtonMapPageBack(object sender, RoutedEventArgs e)
        {
            Page2 page2 = new Page2();

            this.NavigationService.Navigate(page2);
        }