From 94277268fd20e61dd79d9b6b5b49d0a4b21e24b5 Mon Sep 17 00:00:00 2001 From: maksim Date: Wed, 27 Nov 2024 01:24:40 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B8=D0=BD=D0=B8=20=D0=B8=D0=B7=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=B2=D0=B5=D1=80=D1=85=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PhysicalPerson/PhysicalPersonManagementWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmployeeManagmentView/PhysicalPerson/PhysicalPersonManagementWindow.xaml.cs b/EmployeeManagmentView/PhysicalPerson/PhysicalPersonManagementWindow.xaml.cs index 01271a3..6270a70 100644 --- a/EmployeeManagmentView/PhysicalPerson/PhysicalPersonManagementWindow.xaml.cs +++ b/EmployeeManagmentView/PhysicalPerson/PhysicalPersonManagementWindow.xaml.cs @@ -24,13 +24,13 @@ namespace EmployeeManagmentView.PhysicalPerson window.Activate(); window.WindowStartupLocation = WindowStartupLocation.CenterScreen; window.Topmost = true; // Ставим окно на передний план - window.Topmost = false; // Сразу снимаем флаг, чтобы окно не оставалось всегда наверху return; } } // Если окно не найдено, открываем новое var physicalPersonWindow = new AddPhysicalPersonWindow(_phisicalPersonLogic); + physicalPersonWindow.Topmost = true; physicalPersonWindow.Show(); }