|
@@ -1,4 +1,5 @@
|
|
|
-using System;
|
|
|
+using ROGOZ.Pages;
|
|
|
+using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Net;
|
|
@@ -51,9 +52,19 @@ namespace ROGOZ
|
|
|
// this.Close();
|
|
|
//}
|
|
|
|
|
|
- Windows.AccExitWin window = new Windows.AccExitWin();
|
|
|
- window.ShowDialog();
|
|
|
-
|
|
|
+ //Windows.AccExitWin window = new Windows.AccExitWin();
|
|
|
+ //window.ShowDialog();
|
|
|
+ if (MessageBox.Show("Вы уверены, что хотите выйти из аккаунта ESOFT?", "Выйти", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
|
|
|
+ {
|
|
|
+
|
|
|
+ Pages.Authorization authorization = new Pages.Authorization();
|
|
|
+
|
|
|
+ authorization.Show();
|
|
|
+
|
|
|
+ this.Close();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
private void General_Click(object sender, RoutedEventArgs e)
|