<Window x:Class="eDosStation.ShowEPDDose"
        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:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:local="clr-namespace:eDosStation"
        mc:Ignorable="d"
        Title="ShowEPDDose" Height="548.4" Width="858.8" 
        Loaded="Window_Loaded" 
        Unloaded="Window_Unloaded" 
        WindowStartupLocation="CenterScreen"
        FontFamily="Segoe UI"
        WindowStyle="None">
    <DockPanel>
        <StatusBar DockPanel.Dock="Bottom"  >
            <StatusBarItem Name="statusEPD" Content="Epd" />
        </StatusBar>
        <Grid TextBlock.FontSize="24" >
            <Grid.RowDefinitions>
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Row="0" Grid.Column="0" Text="EPD ID :" Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="0" Grid.Column="1" Name ="epdid" Text="..."/>

            <TextBlock Grid.Row="0" Grid.Column="2" Text="Type:" Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="0" Grid.Column="3" Name ="epdtype" Text="..."/>

            <TextBlock Grid.Row="0" Grid.Column="4" Text ="Version" Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="0" Grid.Column="5" Name ="HardVersion" Text="..." Padding="20,0,20,0" />

            <TextBlock Grid.Row="1" Grid.Column="0" Text="PersID :" Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="1" Grid.Column="1" Name ="Wearer" Text="..."/>

            <TextBlock Grid.Row="1" Grid.Column="2" Text ="Visit#" Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="1" Grid.Column="3" Name ="EpdVisit" Text="..." Padding="20,0,20,0" />

            <Line Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4" Stroke="Black" Width="10" />

            <TextBlock Grid.Row="1" Grid.Column="4" Text="User Margin :"  Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="1" Grid.Column="5" Text="..." Name="epdUserMargin" Padding="20,0,20,0" />


            <TextBlock Grid.Row="4" Grid.Column="0" Text="Issued :"  Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="4" Grid.Column="1" Text="..." Name ="isIssued" Padding="20,0,20,0" />

            <TextBlock Grid.Row="4" Grid.Column="2" Text="Gain :"  Name="lNGain" Padding="20,0,20,0" HorizontalAlignment="Right"/>
            <TextBlock Grid.Row="4" Grid.Column="3" Text="..." Name ="NGain" Padding="20,0,20,0" />


            <TextBlock Grid.Row="5" Grid.Column="0" Text="Alarm :" Padding="20,0,20,0" HorizontalAlignment="Right" Margin="0,6.2,0.2,88.4" Grid.RowSpan="2"/>
            <TextBlock Grid.Row="5" Grid.Column="1" Text="..."  Name ="hasAlarm" Padding="20,0,20,0"/>
            <StackPanel Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="2" Name="sAlarm" Margin="50,0,20,0"/>

            <TextBlock Grid.Row="6" Grid.Column="0" Text="Doses :" Padding="20,0,20,0" VerticalAlignment="Center" HorizontalAlignment="Right"   />
            <StackPanel Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="5" Orientation="Vertical" Margin="5,10,0,20">
                <StackPanel Orientation="Horizontal">
                    <TextBlock Name="HpDose07l" Width="200"/>
                    <TextBlock Name="HpDose07" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Name="HpDose10l" Width="200" />
                    <TextBlock Name="HpDose10" />
                </StackPanel>
            </StackPanel>

            <TextBlock Grid.Row="7" Grid.Column="0" Text="Dose Tresholds :" Padding="20,0,20,0" VerticalAlignment="Center" HorizontalAlignment="Right"/>
            <StackPanel Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="5" Orientation="Vertical" Margin="0,20,0,20" >
                <StackPanel Orientation="Horizontal">
                    <TextBlock Name="HP07AlarmDosel" Width="200" />
                    <TextBlock Name="HP07AlarmDose" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Name="HP10AlarmDose1l"  Width="200" />
                    <TextBlock Name="HP10AlarmDose1" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Name="HP10AlarmDose2l"  Width="200" />
                    <TextBlock Name="HP10AlarmDose2" />
                </StackPanel>
            </StackPanel>

            <Grid Grid.Row="8" Grid.ColumnSpan="6" >
            <telerik:RadProgressBar  Name="Progress" Style="{StaticResource styleTTOProgessBar}"  />
            <TextBlock Name="ProgressText" Text="100" Foreground="White" FontSize="20" HorizontalAlignment="Center" />
            </Grid>

            <StackPanel Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="6"  HorizontalAlignment="Center" VerticalAlignment="Center" >
                <telerik:RadButton Content="Close" Style="{StaticResource OkCancelButton}" Margin="0,20,0,20" Click="RadButton_Click" />
            </StackPanel>
        </Grid>
    </DockPanel>
</Window>

    