星火微课系统客户端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <Window x:Class="XHWK.WKTool.ProductVerification"
  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" xmlns:Views="clr-namespace:XHWK.WKTool.Helpers"
  7. Title="ProductVerification" Width="300"
  8. Height="230"
  9. AllowsTransparency="True"
  10. Background="Transparent"
  11. ShowInTaskbar="False"
  12. WindowStartupLocation="CenterOwner"
  13. WindowStyle="None"
  14. mc:Ignorable="d" BorderThickness="7">
  15. <Window.Effect>
  16. <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
  17. </Window.Effect>
  18. <Window.Resources>
  19. <Style x:Key="oiliu" TargetType="ListBoxItem">
  20. <!-- 设置控件模板 -->
  21. <Setter Property="Template">
  22. <Setter.Value>
  23. <ControlTemplate TargetType="ListBoxItem">
  24. <Border
  25. Margin="4,0,0,0"
  26. Padding="0"
  27. Background="{TemplateBinding Background}">
  28. <ContentPresenter
  29. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  30. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  31. TextBlock.Foreground="{TemplateBinding Foreground}" />
  32. </Border>
  33. </ControlTemplate>
  34. </Setter.Value>
  35. </Setter>
  36. </Style>
  37. <DataTemplate x:Key="UserTpl">
  38. <StackPanel
  39. Width="70.5"
  40. Height="auto"
  41. Background="Transparent">
  42. <TextBlock
  43. Padding="0,12,0,0"
  44. HorizontalAlignment="Left"
  45. FontSize="20"
  46. Foreground="#3C525B"
  47. Text="{Binding username}" />
  48. </StackPanel>
  49. </DataTemplate>
  50. </Window.Resources>
  51. <Views:ZJClippingBorder Background="White" CornerRadius="10,10,10,10">
  52. <Grid Margin="0,0,0,0">
  53. <Grid.RowDefinitions>
  54. <RowDefinition Height="50" />
  55. <RowDefinition Height="*" />
  56. <RowDefinition Height="75" />
  57. </Grid.RowDefinitions>
  58. <!-- 头部 -->
  59. <Grid
  60. Grid.Row="0"
  61. Height="50"
  62. Background="#4597FF">
  63. <TextBlock
  64. x:Name="title_tb"
  65. Grid.Row="0"
  66. Margin="15,0,0,0"
  67. HorizontalAlignment="Left"
  68. VerticalAlignment="Center"
  69. FontSize="22"
  70. Foreground="White"
  71. Text="产品验证" />
  72. <Button Cursor="Hand"
  73. Grid.Column="0"
  74. Width="46"
  75. Height="46"
  76. Margin="0,0,10,0"
  77. HorizontalAlignment="Right"
  78. VerticalAlignment="Center"
  79. Background="White"
  80. Click="close_click"
  81. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  82. <Button.Template>
  83. <ControlTemplate TargetType="{x:Type Button}">
  84. <Border
  85. BorderBrush="{TemplateBinding Control.BorderBrush}"
  86. BorderThickness="0"
  87. CornerRadius="20">
  88. <ContentPresenter
  89. HorizontalAlignment="Center"
  90. VerticalAlignment="Center"
  91. Content="{TemplateBinding ContentControl.Content}" />
  92. </Border>
  93. </ControlTemplate>
  94. </Button.Template>
  95. <Image
  96. Width="40"
  97. Height="40"
  98. HorizontalAlignment="Center"
  99. VerticalAlignment="Center"
  100. Source="../Images/RollCall/rollCall_1.png"
  101. Stretch="Fill" />
  102. </Button>
  103. </Grid>
  104. <Grid Grid.Row="1" Margin="10,20,0,0">
  105. <StackPanel Orientation="Horizontal" Height="30">
  106. <TextBlock Text="产品验证中。。。。" FontSize="20"/>
  107. </StackPanel>
  108. </Grid>
  109. </Grid>
  110. </Views:ZJClippingBorder>
  111. </Window>