|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <Window
- x:Class="XHWK.WKTool.ProductVerification"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:Views="clr-namespace:XHWK.WKTool.Helpers"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:XHWK.WKTool"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- Title="ProductVerification"
- Width="300"
- Height="230"
- AllowsTransparency="True"
- Background="Transparent"
- BorderThickness="7"
- ShowInTaskbar="False"
- WindowStartupLocation="CenterOwner"
- WindowStyle="None"
- mc:Ignorable="d">
- <Window.Effect>
- <DropShadowEffect
- BlurRadius="10"
- Direction="80"
- ShadowDepth="0"
- Color="#bababa" />
- </Window.Effect>
- <Window.Resources>
- <Style x:Key="oiliu" TargetType="ListBoxItem">
- <!-- 设置控件模板 -->
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="ListBoxItem">
- <Border
- Margin="4,0,0,0"
- Padding="0"
- Background="{TemplateBinding Background}">
- <ContentPresenter
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- TextBlock.Foreground="{TemplateBinding Foreground}" />
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <DataTemplate x:Key="UserTpl">
- <StackPanel
- Width="70.5"
- Height="auto"
- Background="Transparent">
- <TextBlock
- Padding="0,12,0,0"
- HorizontalAlignment="Left"
- FontSize="20"
- Foreground="#3C525B"
- Text="{Binding username}" />
- </StackPanel>
- </DataTemplate>
- </Window.Resources>
- <Views:ZJClippingBorder Background="White" CornerRadius="10,10,10,10">
- <Grid Margin="0,0,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="*" />
- <RowDefinition Height="75" />
- </Grid.RowDefinitions>
- <!-- 头部 -->
- <Grid
- Grid.Row="0"
- Height="50"
- Background="#4597FF">
- <TextBlock
- x:Name="title_tb"
- Grid.Row="0"
- Margin="15,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontSize="22"
- Foreground="White"
- Text="产品验证" />
- <Button
- Grid.Column="0"
- Width="46"
- Height="46"
- Margin="0,0,10,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Background="White"
- Click="close_click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding Control.BorderBrush}"
- BorderThickness="0"
- CornerRadius="20">
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding ContentControl.Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- <Image
- Width="40"
- Height="40"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Source="Images/rollCall_1.png"
- Stretch="Fill" />
- </Button>
- </Grid>
- <Grid Grid.Row="1" Margin="10,20,0,0">
- <StackPanel Height="30" Orientation="Horizontal">
- <TextBlock FontSize="20" Text="产品验证中。。。。" />
- </StackPanel>
- </Grid>
- </Grid>
- </Views:ZJClippingBorder>
- </Window>
|