1
0
mirror of https://github.com/SirLecram/HospitalServerManager synced 2024-11-09 04:55:27 +01:00
admissionManager/obj/x86/Debug/View/NewAdmissionPage.xaml
Marcel Grześ f234ec1f26 First version of working application
- last changes and visual edit
2019-01-11 22:32:18 +01:00

52 lines
3.1 KiB
XML

<Page
x:Class="HospitalServerManager.View.NewAdmissionPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:HospitalServerManager.View"
xmlns:viewmodel="using:HospitalServerManager.ViewModel"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Page.Resources>
<viewmodel:RosterViewModel x:ConnectionId='2' x:Name="RosterViewModel"/>
</Page.Resources>
<Grid x:ConnectionId='3' Margin="60" Name="grid">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBlock x:ConnectionId='4' Name="lastAdmission" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="18"/>
<TextBox x:ConnectionId='5' Name="tbID" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<DatePicker x:ConnectionId='6' Name="admissionDate" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<DatePicker x:ConnectionId='7' Name="leavingDate" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<ComboBox x:ConnectionId='8' Name="patientsId" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<ComboBox x:ConnectionId='9' Name="diagnosisSymbol" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<ComboBox x:ConnectionId='10' Name="mainDoctorId" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<ComboBox x:ConnectionId='11' Name="operationId" Grid.Row="7" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<ComboBox x:ConnectionId='12' Name="roomNumber" Grid.Row="8" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
<StackPanel Grid.Row="9" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
<RadioButton x:ConnectionId='14' Name="trueCheckBox" Content="TRUE" IsChecked="True"/>
<RadioButton x:ConnectionId='15' Name="falseCheckBox" Content="FALSE"/>
</StackPanel>
<Button x:ConnectionId='13' Content="Sprawdź poprawność danych i potwierdź" Grid.Row="10" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="17" />
</Grid>
</Page>