|
@@ -1,6 +1,7 @@
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
+using System.Net;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
using System.Windows;
|
|
@@ -40,5 +41,16 @@ namespace ROGOZ
|
|
|
{
|
|
|
Application.Current.MainWindow.WindowState = WindowState.Minimized;
|
|
|
}
|
|
|
+
|
|
|
+ private void AccExit_Click(object sender, RoutedEventArgs e)
|
|
|
+ {
|
|
|
+ if (MessageBox.Show("Вы уверены, что хотите выйти из аккаунта ESOFT?", "Выйти", MessageBoxButton.YesNo, MessageBoxImage.Question)==MessageBoxResult.Yes)
|
|
|
+ {
|
|
|
+ Pages.Authorization authorization = new Pages.Authorization();
|
|
|
+ authorization.Show();
|
|
|
+ this.Close();
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
}
|