123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- 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 ROGOZ.Windows
- {
- /// <summary>
- /// Логика взаимодействия для AccExitWin.xaml
- /// </summary>
- public partial class AccExitWin : Window
- {
- public AccExitWin()
- {
- InitializeComponent();
- }
- private void btnClose_Click(object sender, RoutedEventArgs e)
- {
- this.Close();
- }
- private void Window_MouseDown(object sender, MouseButtonEventArgs e)
- {
- if (e.LeftButton == MouseButtonState.Pressed) { DragMove(); }
- }
- private void Button_Click(object sender, RoutedEventArgs e)
- {
- this.Close();
- }
- private void Button_Click_1(object sender, RoutedEventArgs e)
- {
- //Pages.Authorization authorization = new Pages.Authorization();
- //authorization.Show();
- //this.Close();
- //Application.Current.Shutdown();
- Pages.Authorization authorization = new Pages.Authorization();
- authorization.Show();
- Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;
- }
- }
- }
|