51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Security.Cryptography.X509Certificates;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
using System.Windows;
|
||
using System.Windows.Controls;
|
||
using System.Windows.Data;
|
||
using System.Windows.Documents;
|
||
using System.Windows.Input;
|
||
using System.Windows.Media;
|
||
using System.Windows.Media.Imaging;
|
||
using System.Windows.Shapes;
|
||
|
||
namespace podgotovka
|
||
{
|
||
/// <summary>
|
||
/// Логика взаимодействия для Window2.xaml
|
||
/// </summary>
|
||
public partial class Window2 : Window
|
||
{
|
||
public Window2()
|
||
{
|
||
InitializeComponent();
|
||
}
|
||
|
||
private void Button_Click(object sender, RoutedEventArgs e)
|
||
{
|
||
MainWindow mainWindow = new MainWindow();
|
||
mainWindow.Show();
|
||
this.Close();
|
||
}
|
||
|
||
private void Button_Click_1(object sender, RoutedEventArgs e)
|
||
{
|
||
MessageBox.Show(
|
||
"Поздравляю с успешной регистрацией"
|
||
);
|
||
|
||
}
|
||
|
||
private void Button_Click_2(object sender, RoutedEventArgs e)
|
||
{
|
||
MainWindow mainWindow = new MainWindow();
|
||
mainWindow.Show();
|
||
this.Close();
|
||
}
|
||
}
|
||
}
|