<Window x:Class="PDFViewWPFTestCS.AuthorizeDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:PDFViewWPFTestCS"
        Title="Secured File" Height="150" Width="300"
        WindowStartupLocation="CenterOwner" ShowInTaskbar="False" 
        Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
    <StackPanel>
        <Label Content="Enter password here:" Height="Auto" Margin="10,10,10,5" Name="m_discription" Width="Auto" />
        <PasswordBox Height="Auto" Margin="10,5,10,5" Name="m_pass" Width="Auto" KeyDown="m_pass_KeyDown"/>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Button Grid.Column="1" Margin="10,5,10,10" Width="70" Name="m_ok" Content="OK" HorizontalContentAlignment="Center" Click="m_ok_Click"/>
            <Button Grid.Column="2" Margin="10,5,10,10" Width="70" Name="m_cancel" Content="Cancel" HorizontalContentAlignment="Center" Click="m_cancel_Click"/>
        </Grid>
    </StackPanel>
</Window>
