星火微课系统客户端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <Window x:Class="XHWK.WKTool.KeyVerification"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:XHWK.WKTool"
  7. xmlns:Views="clr-namespace:XHWK.WKTool.Helpers"
  8. Title="KeyVerification" Width="300"
  9. Height="230"
  10. AllowsTransparency="True"
  11. Background="Transparent"
  12. ShowInTaskbar="False"
  13. WindowStartupLocation="CenterOwner"
  14. WindowStyle="None"
  15. mc:Ignorable="d" BorderThickness="7">
  16. <Window.Effect>
  17. <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
  18. </Window.Effect>
  19. <Window.Resources>
  20. <Style x:Key="oiliu" TargetType="ListBoxItem">
  21. <!-- 设置控件模板 -->
  22. <Setter Property="Template">
  23. <Setter.Value>
  24. <ControlTemplate TargetType="ListBoxItem">
  25. <Border
  26. Margin="4,0,0,0"
  27. Padding="0"
  28. Background="{TemplateBinding Background}">
  29. <ContentPresenter
  30. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  31. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  32. TextBlock.Foreground="{TemplateBinding Foreground}" />
  33. </Border>
  34. </ControlTemplate>
  35. </Setter.Value>
  36. </Setter>
  37. </Style>
  38. <DataTemplate x:Key="UserTpl">
  39. <StackPanel
  40. Width="70.5"
  41. Height="auto"
  42. Background="Transparent">
  43. <TextBlock
  44. Padding="0,12,0,0"
  45. HorizontalAlignment="Left"
  46. FontSize="20"
  47. Foreground="#3C525B"
  48. Text="{Binding username}" />
  49. </StackPanel>
  50. </DataTemplate>
  51. </Window.Resources>
  52. <Views:ZJClippingBorder Background="White">
  53. <Grid Margin="0,0,0,0">
  54. <Grid.RowDefinitions>
  55. <RowDefinition Height="50" />
  56. <RowDefinition Height="*" />
  57. <RowDefinition Height="75" />
  58. </Grid.RowDefinitions>
  59. <!-- 头部 -->
  60. <Grid
  61. Grid.Row="0"
  62. Height="50"
  63. Background="#4597FF">
  64. <TextBlock
  65. x:Name="title_tb"
  66. Grid.Row="0"
  67. Margin="15,0,0,0"
  68. HorizontalAlignment="Left"
  69. VerticalAlignment="Center"
  70. FontSize="16"
  71. Foreground="White"
  72. Text="产品激活" />
  73. <!--<Button
  74. Grid.Column="0"
  75. Width="46"
  76. Height="46"
  77. Margin="0,0,10,0"
  78. HorizontalAlignment="Right"
  79. VerticalAlignment="Center"
  80. Background="White"
  81. Click="close_click" Cursor="Hand"
  82. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  83. <Button.Template>
  84. <ControlTemplate TargetType="{x:Type Button}">
  85. <Border
  86. BorderBrush="{TemplateBinding Control.BorderBrush}"
  87. BorderThickness="0"
  88. CornerRadius="20">
  89. <ContentPresenter
  90. HorizontalAlignment="Center"
  91. VerticalAlignment="Center"
  92. Content="{TemplateBinding ContentControl.Content}" />
  93. </Border>
  94. </ControlTemplate>
  95. </Button.Template>
  96. <Image
  97. Width="40"
  98. Height="40"
  99. HorizontalAlignment="Center"
  100. VerticalAlignment="Center"
  101. Source="./Images/rollCall_1.png"
  102. Stretch="Fill" />
  103. </Button>-->
  104. <Button Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" VerticalAlignment="Top" Foreground="#FFFFFF" FontSize="30" Padding="10,2,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="close_click"/>
  105. </Grid>
  106. <Grid Grid.Row="1" Margin="30,20,30,0">
  107. <StackPanel Orientation="Horizontal" Height="43">
  108. <TextBlock Text="密匙:" FontSize="20" Padding="0,5,0,0"/>
  109. <TextBox x:Name="txbKey" Text="" Width="164" Foreground="gray" FontSize="18" VerticalContentAlignment="Center"/>
  110. </StackPanel>
  111. </Grid>
  112. <Button Cursor="Hand"
  113. x:Name="btnEnd"
  114. Grid.Row="2"
  115. IsDefault="True"
  116. Height="48"
  117. Margin="30,0,30,0"
  118. Click="btnEnd_Click"
  119. Content="验证"
  120. FontWeight="Bold"
  121. FontSize="18"
  122. Foreground="White">
  123. <Button.Template>
  124. <ControlTemplate TargetType="{x:Type Button}">
  125. <Border
  126. BorderBrush="{TemplateBinding Control.BorderBrush}"
  127. BorderThickness="0"
  128. CornerRadius="3">
  129. <Border.Background>#6098FF</Border.Background>
  130. <ContentPresenter
  131. HorizontalAlignment="Center"
  132. VerticalAlignment="Center"
  133. Content="{TemplateBinding ContentControl.Content}" />
  134. </Border>
  135. </ControlTemplate>
  136. </Button.Template>
  137. </Button>
  138. </Grid>
  139. </Views:ZJClippingBorder>
  140. </Window>