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