Пример #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("Неверный пароль");
     }
 }