123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <UserControl x:Class="MECF.Framework.RT.Core.Backend.LicenseView"
- 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"
- xmlns:local="clr-namespace:MECF.Framework.RT.Core.Backend"
- mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="20"/>
- <RowDefinition Height="70"/>
- <RowDefinition Height="170"/>
- <RowDefinition Height="170"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="30"/>
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="1" Grid.Column="1" Margin="0,0,0,10">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="100"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0" Grid.Column="0" Text="机器码:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <Button Grid.Row="0" Grid.Column="2" x:Name="Copy" Content="复制" Width="50" Click="Copy_Click" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Button Grid.Row="0" Grid.Column="3" x:Name="Export" Content="导出..." Width="50" Click="Export_Click" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <TextBox Grid.Row="1" Grid.ColumnSpan="4" x:Name="MachineCode" Text="" Width="600" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1" Margin="0,10,0,10">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0" Grid.Column="0" Text="剩余授权天数:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <TextBox Grid.Row="0" Grid.Column="1" x:Name="LeftDays" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- <TextBlock Grid.Row="1" Grid.Column="0" Text="注册时间:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <TextBox Grid.Row="1" Grid.Column="1" x:Name="LastRegisterDateTime" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- <TextBlock Grid.Row="2" Grid.Column="0" Text="授权天数:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <TextBox Grid.Row="2" Grid.Column="1" x:Name="LastRegisterDays" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- <TextBlock Grid.Row="3" Grid.Column="0" Text="日期:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <TextBox Grid.Row="3" Grid.Column="1" x:Name="CurrentDateTime" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- <TextBlock Grid.Row="4" Grid.Column="0" Text="到期日:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <TextBox Grid.Row="4" Grid.Column="1" x:Name="ExpireDateTime" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="3" Grid.Column="1" Margin="0,10,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="100"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0" Grid.Column="0" Text="授权码:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <Button Grid.Row="0" Grid.Column="2" x:Name="Paste" Click="Paste_Click" Content="粘贴" Width="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Button Grid.Row="0" Grid.Column="3" Content="导入..." x:Name="Import" Click="Import_Click" Width="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Button Grid.Row="0" Grid.Column="4" Content="注册" x:Name="Register" Click="Register_Click" Width="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <TextBox Grid.Row="1" Grid.ColumnSpan="5" x:Name="Key" Text="" Width="700" Height="100" TextWrapping="Wrap" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- </Grid>
- </UserControl>
|