Files
MDK0101/PR14/PR14/MainWindow.xaml
2026-04-20 17:00:57 +05:00

70 lines
2.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<Window x:Class="PR14.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:PR14"
mc:Ignorable="d"
xmlns:xctk="http://xceed.com"
Title="MainWindow" Height="500" Width="800">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column = "0">
<TextBlock
Text="Список пациентов:"
Margin="10,10,10,0"
/>
<ListView
Margin="10"
Height="320"
>
</ListView>
<Button Content="Просмотреть записи" Margin="10" Height="30"/>
<Button Content="Записать" Margin="10" Height="30"/>
</StackPanel>
<StackPanel Grid.Column = "1">
<TextBlock Text="Фамилия:" Name="tbSurname" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Text="Имя:" Name="tbName" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Text="Отчество:" Name="tbPatronymic" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Text="Пол:" Margin="10,0,0,0"/>
<StackPanel Orientation="Horizontal" Margin="10">
<RadioButton GroupName="rbgRadios" Content="М" Margin="0,0,20,0"/>
<RadioButton GroupName="Radios" Content="Ж"/>
</StackPanel>
<TextBlock Text="Дата рождения:" Margin="10,0,0,0"/>
<DatePicker Name="dpBirthday" Margin="10"/>
<TextBlock Name="tbAdress" Text="Фактический адрес:" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Name="tbPolis" Text="Полис:" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Name="tbPhone" Text="Телефон:" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
</StackPanel>
<StackPanel Grid.Column = "2">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Height="370"/>
<StackPanel Grid.Row="1">
<Button Content="Добавить" VerticalAlignment="Bottom" Margin="10"/>
</StackPanel>
</Grid>
</StackPanel>
</Grid>
</Window>