<Window x:Class="MeterVision.Dlg.RegisterDlg"
        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:MeterVision.Dlg"
        mc:Ignorable="d"
        Background="WhiteSmoke"
        ResizeMode="NoResize"        
        Closed="Window_Closed"
        WindowStartupLocation="CenterScreen"
        Title="软件注册" Height="460" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="50" />
        </Grid.RowDefinitions>

        <Border BorderBrush="#D3D3D3" Background="White" BorderThickness="0 0 0 1" Padding="10">
            <StackPanel Orientation="Vertical">
                <!--<StackPanel Orientation="Horizontal" VerticalAlignment="Center">-->
                    <TextBlock Text="激活码：" FontSize="15" Margin="0 5" />
                    <!--<TextBlock Text="9999-12-31" FontSize="14" TextAlignment="Center" VerticalAlignment="Center" />-->
                <!--</StackPanel>-->
                <TextBox Name="MachineCodeTextBox" Margin="0,0,0,10" IsReadOnly="True"  Padding="5" TextWrapping="Wrap" FontSize="14" />
                <TextBlock Text="注册码：" FontSize="15" Margin="0 5" />
                <TextBox Name="LicenseTextBox" Height="250" FontSize="14" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap"/>
            </StackPanel>
        </Border>

        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Name="btnRegister" Content="注    册" Width="100" Height="35" VerticalAlignment="Center"
                    Margin="0 0 0 0" FontSize="14px"
                    Click="BtnRegister_Click"/>
        </StackPanel>

    </Grid>
</Window>
