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}"> + + + + + + + + + +