LicenseView.xaml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <UserControl x:Class="MECF.Framework.RT.Core.Backend.LicenseView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:MECF.Framework.RT.Core.Backend"
  7. mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800">
  8. <Grid>
  9. <Grid.RowDefinitions>
  10. <RowDefinition Height="20"/>
  11. <RowDefinition Height="70"/>
  12. <RowDefinition Height="170"/>
  13. <RowDefinition Height="170"/>
  14. </Grid.RowDefinitions>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="30"/>
  17. <ColumnDefinition />
  18. </Grid.ColumnDefinitions>
  19. <Grid Grid.Row="1" Grid.Column="1" Margin="0,0,0,10">
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="30"/>
  22. <RowDefinition Height="30"/>
  23. </Grid.RowDefinitions>
  24. <Grid.ColumnDefinitions>
  25. <ColumnDefinition Width="200"/>
  26. <ColumnDefinition Width="200"/>
  27. <ColumnDefinition Width="100"/>
  28. <ColumnDefinition Width="100"/>
  29. </Grid.ColumnDefinitions>
  30. <TextBlock Grid.Row="0" Grid.Column="0" Text="机器码:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  31. <Button Grid.Row="0" Grid.Column="2" x:Name="Copy" Content="复制" Width="50" Click="Copy_Click" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  32. <Button Grid.Row="0" Grid.Column="3" x:Name="Export" Content="导出..." Width="50" Click="Export_Click" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  33. <TextBox Grid.Row="1" Grid.ColumnSpan="4" x:Name="MachineCode" Text="" Width="600" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  34. </Grid>
  35. <Grid Grid.Row="2" Grid.Column="1" Margin="0,10,0,10">
  36. <Grid.RowDefinitions>
  37. <RowDefinition Height="30"/>
  38. <RowDefinition Height="30"/>
  39. <RowDefinition Height="30"/>
  40. <RowDefinition Height="30"/>
  41. <RowDefinition Height="30"/>
  42. </Grid.RowDefinitions>
  43. <Grid.ColumnDefinitions>
  44. <ColumnDefinition Width="200"/>
  45. <ColumnDefinition />
  46. </Grid.ColumnDefinitions>
  47. <TextBlock Grid.Row="0" Grid.Column="0" Text="剩余授权天数:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  48. <TextBox Grid.Row="0" Grid.Column="1" x:Name="LeftDays" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  49. <TextBlock Grid.Row="1" Grid.Column="0" Text="注册时间:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  50. <TextBox Grid.Row="1" Grid.Column="1" x:Name="LastRegisterDateTime" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  51. <TextBlock Grid.Row="2" Grid.Column="0" Text="授权天数:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  52. <TextBox Grid.Row="2" Grid.Column="1" x:Name="LastRegisterDays" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  53. <TextBlock Grid.Row="3" Grid.Column="0" Text="日期:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  54. <TextBox Grid.Row="3" Grid.Column="1" x:Name="CurrentDateTime" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  55. <TextBlock Grid.Row="4" Grid.Column="0" Text="到期日:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  56. <TextBox Grid.Row="4" Grid.Column="1" x:Name="ExpireDateTime" Text="" Width="200" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  57. </Grid>
  58. <Grid Grid.Row="3" Grid.Column="1" Margin="0,10,0,0">
  59. <Grid.RowDefinitions>
  60. <RowDefinition Height="30"/>
  61. <RowDefinition />
  62. </Grid.RowDefinitions>
  63. <Grid.ColumnDefinitions>
  64. <ColumnDefinition Width="200"/>
  65. <ColumnDefinition Width="200"/>
  66. <ColumnDefinition Width="100"/>
  67. <ColumnDefinition Width="100"/>
  68. <ColumnDefinition Width="100"/>
  69. </Grid.ColumnDefinitions>
  70. <TextBlock Grid.Row="0" Grid.Column="0" Text="授权码:" FontFamily="Arial" TextAlignment="Center" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  71. <Button Grid.Row="0" Grid.Column="2" x:Name="Paste" Click="Paste_Click" Content="粘贴" Width="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  72. <Button Grid.Row="0" Grid.Column="3" Content="导入..." x:Name="Import" Click="Import_Click" Width="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  73. <Button Grid.Row="0" Grid.Column="4" Content="注册" x:Name="Register" Click="Register_Click" Width="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  74. <TextBox Grid.Row="1" Grid.ColumnSpan="5" x:Name="Key" Text="" Width="700" Height="100" TextWrapping="Wrap" VerticalContentAlignment="Center" HorizontalAlignment="Left"/>
  75. </Grid>
  76. </Grid>
  77. </UserControl>