From 22632b08d590b65389667898b08cf253b4fd0131 Mon Sep 17 00:00:00 2001 From: maksim Date: Tue, 26 Nov 2024 20:35:57 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20MVVM,=20=D0=BD=D0=BE=20=D1=81?= =?UTF-8?q?=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2?= =?UTF-8?q?=20=D0=B1=D0=B0=D0=B7=D1=83=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D1=85=20=D0=B8=D0=B4=D0=B5=D1=82,=20=D0=BF=D0=BE=D1=8D=D1=82?= =?UTF-8?q?=D0=BE=D0=BC=D1=83=20=D0=B8=D0=B4=D1=83=20=D1=87=D0=B8=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=B8=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D1=8F=D1=82=D1=8C.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AddPhysicalPersonWindow.xaml | 35 +++++++++++-------- .../AddPhysicalPersonWindow.xaml.cs | 4 ++- ViewModel/DataManageViewModel.cs | 31 ++++++++++++++++ 3 files changed, 54 insertions(+), 16 deletions(-) diff --git a/View/PhysicalPerson/AddPhysicalPersonWindow.xaml b/View/PhysicalPerson/AddPhysicalPersonWindow.xaml index e120f84..b88ab13 100644 --- a/View/PhysicalPerson/AddPhysicalPersonWindow.xaml +++ b/View/PhysicalPerson/AddPhysicalPersonWindow.xaml @@ -22,57 +22,62 @@ Width="250" Height="40" Style="{StaticResource RoundedTextBoxStyle}" Margin="0,10" - ToolTip="Введите имя" /> + ToolTip="Введите имя" + Text="{Binding NamePhysicalPersons}"/> + ToolTip="Введите фамилию" + Text="{Binding SurnamePhysicalPersons}"/> + ToolTip="Введите отчество" + Text="{Binding PatronomicPhysicalPersons}"/> + ToolTip="Выберите дату рождения" + Text="{Binding Birthday}"/> - - Мужской - Женский - + + ToolTip="Введите адрес" + Text="{Binding Address}"/> + ToolTip="Введите номер телефона" + Text="{Binding Telephone}"/>