|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <Window
- x:Class="XHWK.WKTool.KeyVerification"
- 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"
- Title="KeyVerification"
- Width="400"
- Height="200"
- AllowsTransparency="True"
- Background="Transparent"
- BorderBrush="#4597FF"
- BorderThickness="1"
- ShowInTaskbar="False"
- WindowStartupLocation="CenterOwner"
- WindowStyle="None"
- mc:Ignorable="d">
-
- <Window.Resources />
- <Grid Margin="0,0,0,0" Background="White">
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="*" />
- <RowDefinition Height="75" />
- </Grid.RowDefinitions>
- <!-- 头部 -->
- <Grid
- Grid.Row="0"
- Height="50"
- Background="#4597FF"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <TextBlock
- x:Name="TitleTb"
- Grid.Row="0"
- Margin="15,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontSize="18"
- Foreground="White"
- Text="产品激活" />
-
- <Button
- x:Name="BtnDown"
- Grid.Row="0"
- Padding="10,0,10,0"
- HorizontalAlignment="Right"
- Click="CloseClick"
- Content="×"
- Cursor="Hand"
- FontSize="30"
- Foreground="#FFFFFF" />
- </Grid>
- <Grid Grid.Row="1" Margin="30,20,30,0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <TextBlock
- Padding="0,0,0,0"
- VerticalAlignment="Center"
- FontSize="16"
- Text="密匙:" />
- <TextBox
- x:Name="TxbKey"
- Grid.Column="1"
- Height="36"
- VerticalAlignment="Center"
- VerticalContentAlignment="Center"
- FontSize="16"
- Foreground="gray"
- Text="" />
- </Grid>
-
- <Button
- x:Name="BtnEnd"
- Grid.Row="2"
- Width="138"
- Height="36"
- Margin="30,0,30,0"
- Click="BtnEndClick"
- Content="验证"
- Cursor="Hand"
- FontSize="16"
- FontWeight="Bold"
- Foreground="White"
- IsDefault="True">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding Control.BorderBrush}"
- BorderThickness="0"
- CornerRadius="3">
- <Border.Background>#6098FF</Border.Background>
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding ContentControl.Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </Window>
|