예제 #1
0
        private void Menu_Click(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            MenuWindow window = new MenuWindow();

            window.Show();
            Vedomost.Close();
        }
예제 #2
0
        private void Menu_Click(object sender, RoutedEventArgs e)
        {
            MenuWindow window = new MenuWindow();

            window.Show();
            Vedomost.Close();
        }
예제 #3
0
 private void Accept_Click(object sender, RoutedEventArgs e)
 {
     if (passwordBox.Password == "1")
     {
         MenuWindow window = new MenuWindow();
         window.Show();
         AutorizationWindow.Close();
     }
     else
     {
         MessageBox.Show("Неверный пароль");
     }
 }