<Window x:Class="eDosStation.Settings"
        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"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="Settings" Height="338.281" Width="617.009" 
        FontFamily="Segoe UI" FontSize="20" 
        Loaded="Window_Loaded">
    <Grid >
        <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="20"   />
            <RowDefinition Height="auto"   />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="400"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="EPD Reader Com port"></TextBlock>
        <telerik:RadComboBox Name="cComPort" Grid.Column="1"  />

        <TextBlock Grid.Row="1" Grid.Column="0" Text="Installation 1"></TextBlock>
        <telerik:RadComboBox  Name="CIns1" Grid.Row="1" Grid.Column="1" SelectedValuePath="Inst_CODE" DisplayMemberPath="InstallationName" />

        <TextBlock Grid.Row="2" Grid.Column="0" Text="Installation 2"></TextBlock>
        <telerik:RadComboBox  Name="CIns2" Grid.Row="2" Grid.Column="1" SelectedValuePath="Inst_CODE" DisplayMemberPath="InstallationName" />
        
        <TextBlock Grid.Row="4" Grid.Column="0" Text="Badgelezers" Height="23" Margin="0,0,0.2,0" VerticalAlignment="Top"></TextBlock>
        <telerik:RadComboBox  Grid.Row="4"  Grid.Column="1" Name="cbReaders" SelectedValuePath="Text" DisplayMemberPath="Text"   />

        <TextBlock Grid.Row="5" Grid.Column="0" Text="Check user status" Height="23" Margin="0,0,0.2,0" VerticalAlignment="Top"></TextBlock>
        <CheckBox Grid.Row="5" Grid.ColumnSpan="2" Name="cbCheckUsers" Grid.Column="1" Padding="10,0,10,0" VerticalAlignment="Center" />

        <TextBlock Grid.Row="6" Grid.Column="0" Text="ValidationButtons" Height="23" Margin="0,0,0.2,0" VerticalAlignment="Top"></TextBlock>
        <CheckBox Grid.Row="6" Grid.ColumnSpan="2" Name="cbValidation" Grid.Column="1" Padding="10,0,10,0" VerticalAlignment="Center" />

        <TextBlock Grid.Row="7" Grid.Column="0" Text="Beep EPD" Height="23" Margin="0,0,0.2,0" VerticalAlignment="Top"></TextBlock>
        <telerik:RadComboBox Grid.Row="7" Grid.ColumnSpan="2" Name="tBeep" Grid.Column="1" SelectedValuePath="Value" DisplayMemberPath="Text"  >
        </telerik:RadComboBox>


        <TextBlock Grid.Row="8" Grid.Column="0" Text="Timeout EPD (ms)" Height="23" Margin="0,0,0.2,0" VerticalAlignment="Top"></TextBlock>
        <TextBox Grid.Row="8" Grid.ColumnSpan="2" Name="tEPDTimeout" Text=""  Grid.Column="1" />

        <telerik:RadButton  Grid.Row="10" Grid.Column="0" Name="bOK" Content="OK"   Click="BOK_Click" Style="{DynamicResource OkCancelButton}"   />
        <telerik:RadButton  Grid.Row="10" Grid.Column="1" Name="bCancel" Content="Cancel"   Click="BCancel_Click" Style="{DynamicResource OkCancelButton}" HorizontalAlignment="Right" />

    </Grid>
</Window>
