From a2631c83cba746161e9c99ed12423d0907a2a361 Mon Sep 17 00:00:00 2001 From: maksim Date: Sat, 30 Nov 2024 18:09:32 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D1=83=20=D0=B2=D1=80=D0=BE=D0=B4=D0=B5?= =?UTF-8?q?=20=D0=B1=D1=8B=20=D0=B1=D0=BB=D0=BE=D0=BA=20=D1=84=D0=B8=D0=B7?= =?UTF-8?q?.=D0=BB=D0=B8=D1=86=D0=B0=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0?= =?UTF-8?q?=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AddPhysicalPersonWindow.xaml.cs | 1 - .../DeletePhysicalPersonWindow.xaml | 18 +++++++++++++----- .../DeletePhysicalPersonWindow.xaml.cs | 10 +++++++++- .../EditPhysicalPersonWindow.xaml.cs | 14 +++++++++++++- .../ViewPhysicalPersonsWindow.xaml | 16 +++++++++++++--- 5 files changed, 48 insertions(+), 11 deletions(-) diff --git a/EmployeeManagmentView/PhysicalPerson/AddPhysicalPersonWindow.xaml.cs b/EmployeeManagmentView/PhysicalPerson/AddPhysicalPersonWindow.xaml.cs index 437d2b7..f0d7f6b 100644 --- a/EmployeeManagmentView/PhysicalPerson/AddPhysicalPersonWindow.xaml.cs +++ b/EmployeeManagmentView/PhysicalPerson/AddPhysicalPersonWindow.xaml.cs @@ -33,7 +33,6 @@ namespace EmployeeManagmentView.PhysicalPerson _phisicalPersonLogic.Insert(model); MessageBox.Show("Данные успешно сохранены!"); - this.Close(); } catch (Exception ex) { diff --git a/EmployeeManagmentView/PhysicalPerson/DeletePhysicalPersonWindow.xaml b/EmployeeManagmentView/PhysicalPerson/DeletePhysicalPersonWindow.xaml index 1866a25..ff8fea5 100644 --- a/EmployeeManagmentView/PhysicalPerson/DeletePhysicalPersonWindow.xaml +++ b/EmployeeManagmentView/PhysicalPerson/DeletePhysicalPersonWindow.xaml @@ -2,7 +2,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Удаление физического лица" - Height="400" Width="600" + Height="500" Width="800" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Background="#0D2D4F"> @@ -27,10 +27,18 @@ + AutoGenerateColumns="False" + Style="{StaticResource RoundedDataGridStyle}"> + + + + + + + + + +