<Window x:Class="RegisterTool.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        
        Title="读表器AI模型测试验证工具-注册码生成工具V1.1" Height="500" Width="600"
        WindowStartupLocation="CenterScreen"
        Icon="Assest/key.png"
        ResizeMode="NoResize">
    <Grid>
        <StackPanel Margin="10">
            <TextBlock Text="请输入激活码:" FontSize="14" Margin="0,0,0,5"/>
            <TextBox Name="MachineCodeTextBox" Margin="0,0,0,10" Padding="5" TextWrapping="Wrap" FontSize="14" />

            <TextBlock Text="选择激活类型:" FontSize="14" Margin="0,0,0,5"/>
            <StackPanel Orientation="Horizontal" Margin="0,0,0,10">
                <RadioButton Name="PermanentLicenseRadio" Content="永久激活" IsChecked="True" Margin="0,0,10,0" FontSize="14"/>
                <RadioButton Name="Temporary2LicenseRadio" Content="临时激活 (2个月)" FontSize="14" Margin="0 0 10 0" />
                <!--<RadioButton Name="Temporary1LicenseRadio" Content="临时激活 (1个月)" FontSize="14" Margin="0 0 10 0"/>-->
            </StackPanel>

            <Button Content="生成注册码" Click="GenerateLicense_Click" HorizontalAlignment="Left" Width="120" Height="30" Margin="0,10,0,10"/>

            <TextBlock Text="注册码:" FontSize="14" Margin="0,0,0,5"/>
            <TextBox Name="LicenseTextBox" Height="250" IsReadOnly="True" FontSize="13" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap"/>
        </StackPanel>
    </Grid>
</Window>