<Page x:Class="WPF_Sample.Views.Examples.SSO"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="454" d:DesignWidth="552"
	Title="SSO">

    <Grid>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="10" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="10" />
            <RowDefinition Height="*" />
            <RowDefinition Height="10" />
        </Grid.RowDefinitions>

        <Rectangle Grid.Column="1" Grid.Row="1" Height="1" HorizontalAlignment="Stretch" Margin="6,32,11,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top"  />
        <Label Content="Single Sign-On Authentication" FontSize="22" Grid.Column="1" Height="44" HorizontalAlignment="Left" Name="label2" VerticalAlignment="Top" Width="335" Margin="0,6,0,0" Grid.RowSpan="2" />
        <Label Content="Web Service Response:" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="8,229,0,0" Name="label1" VerticalAlignment="Top" Width="195" />
        <TextBox Grid.Column="1" Grid.Row="1" Height="127" HorizontalAlignment="Left" Margin="12,255,0,0" Name="txtResponse" VerticalAlignment="Top" Width="509" AcceptsReturn="True" />
        <Button Content="Get Link" Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="446,388,0,0" Name="btnGetSSOLink" VerticalAlignment="Top" Width="75" Click="btnGetSSOLink_Click" />
        <RadioButton Content="EmployeeID" Grid.Column="1" Grid.Row="1" Height="16" HorizontalAlignment="Left" Margin="62,44,0,0" Name="radioByEmployee" VerticalAlignment="Top" IsChecked="{x:Null}" Checked="radioByEmployee_Checked" />
        <RadioButton Content="Login" Grid.Column="1" Grid.Row="1" Height="16" HorizontalAlignment="Left" Name="radioByLogin" VerticalAlignment="Top" Margin="154,44,0,0" Checked="radioByLogin_Checked" />
        <Label Content="EmployeeID:" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Name="lblEmployeeID" VerticalAlignment="Top" Margin="9,68,0,0" />
        <TextBox DataContext="{Binding}" Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="12,90,0,0" Name="txtEmployeeID" VerticalAlignment="Top" Width="509" />
        <Label Content="LoginID:" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Name="lblLoginID" VerticalAlignment="Top" Margin="9,119,0,0" />
        <TextBox DataContext="{Binding}" Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="12,141,0,0" Name="txtLoginID" VerticalAlignment="Top" Width="509"  />
        <Label Content="Password:" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Name="lblPassword" VerticalAlignment="Top" Margin="8,169,0,0" />
        <TextBox DataContext="{Binding}" Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="11,191,0,0" Name="txtPassword" VerticalAlignment="Top" Width="509" />
        <Label Content="Get By:" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="9,39,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="144,229,0,0" Name="lblProcessTime" VerticalAlignment="Top" FontStyle="Italic" />
    </Grid>
</Page>
