<Window x:Class="eDosStation.EpdExit"
        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:eDosStation"
        mc:Ignorable="d"
        Title="Exit" Height="450" Width="800" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" Closing="Window_Closing">
    <DockPanel>
        <StatusBar DockPanel.Dock="Bottom"  >
            <StatusBarItem Name="statusEPD" Content="Epd" />
        </StatusBar>
        <TabControl>
            <TabItem Name="Wait" Header="Wait">
                
            </TabItem>
            <TabItem Name="ok" Header="OK">
                <Grid TextBlock.FontSize="40" TextBlock.FontFamily="comic sans ms">
                    <Grid.RowDefinitions >
                        <RowDefinition Height="auto" />
                        <RowDefinition Height="auto" />
                        <RowDefinition Height="auto" />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto" />
                        <ColumnDefinition  />

                    </Grid.ColumnDefinitions>



                    <TextBlock Grid.Row="0" Grid.Column="0" Name= "Wearer" Text="persID:" TextBlock.FontSize="20"/>
                    <TextBlock Grid.Row="0" Grid.Column="1" Name= "EpdVisit" Text="Visit:" TextBlock.FontSize="20"/>

                    <TextBlock Grid.Row="1" Grid.Column="0" Grid.RowSpan="1" Text="Dose" />
                    <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical" VerticalAlignment="Center"   Name="DosePanel">
                        <TextBlock Name="HpDose07" />
                        <TextBlock Name="HpDose10" />
                    </StackPanel>

                    <Button Grid.Row="2" Grid.Column="1" Content="OK" Name="bCloseExit" Click="BCloseExit_Click" />
                </Grid>

            </TabItem>
            <TabItem Name="Alarm" Header="Alarm">
                <StackPanel>
                <Border Background="LightYellow"  TextBlock.FontSize="22" TextBlock.LineHeight="30px" Padding="20,20,20,20"  >
                    <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" >
                        <LineBreak/>
                        <Run>Your dose and/or doserate has been above the alarmlevel</Run>
                        <Run>during your visit !</Run>
                        <LineBreak/>
                        <LineBreak/>
                        <Run>Please contact</Run><LineBreak/><Run> the Radioprotection officer of the building.</Run>
                        <LineBreak/><LineBreak/>
                        <Run>He needs to validate and clear your alarm(s).</Run>
                        <LineBreak/>
                    </TextBlock>
                </Border>
                <Button Content="OK" Height="40" Width="200" Name="bConfirmAlarm" Click="BConfirmAlarm_Click" />
                </StackPanel>
            </TabItem>
            <TabItem Name="OtherAlarm" Header="Other Alarm">
                <StackPanel>
                    <Border Background="LightYellow"  TextBlock.FontSize="24" TextBlock.LineHeight="30px" Padding="20,20,20,20" >
                        <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center" >
                        <LineBreak/>
                        <Run>Your EPD has encountered a problem.</Run>
                        <LineBreak/><LineBreak/>
                         <Run>Please contact</Run><LineBreak/><Run>the Radioprotection officer of the building.</Run>
                                   <LineBreak/>
                            <LineBreak/>
                            <Run> He needs to investigate the alarm.</Run>
                        </TextBlock>
                    </Border>
                    <Button Content="OK" Height="40" Width="200" Name="bConfirmAlarm2" Click="BConfirmAlarm_Click" />
                </StackPanel>
            </TabItem>
        </TabControl>
       
    </DockPanel>
</Window>

    