<Window x:Class="NEIntelligentControl2.Windows.UserWindow"
        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"
        xmlns:local="clr-namespace:NEIntelligentControl2.Windows"
        mc:Ignorable="d"
        Title="用户" Height="450" Width="350" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" ResizeMode="NoResize" WindowStyle="None" Background="{x:Null}" AllowsTransparency="True">
    <Window.Resources>
        <ControlTemplate x:Key="CloseButton">
            <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter TargetName="p1" Property="Path.Fill" Value="#FFD81E06"/>
                </Trigger>
            </ControlTemplate.Triggers>
            <Viewbox>
                <Canvas Width="1024" Height="1024" Background="#01FFFFFF">
                    <Path x:Name="p1" Data="M671.830688 511.699001l319.059377-319.059377c43.945914-43.945914 43.945914-115.583774 0-159.529688-43.945914-43.945914-115.583774-43.945914-159.529688 0l-319.059377 319.059377-319.059377-319.059377c-43.945914-43.945914-115.583774-43.945914-159.529688 0-43.945914 43.945914-43.945914 115.583774 0 159.529688l319.059377 319.059377-319.059377 319.059377c-43.945914 43.945914-43.945914 115.583774 0 159.529688 43.945914 43.945914 115.583774 43.945914 159.529688 0l319.059377-319.059377 319.059377 319.059377c43.945914 43.945914 115.583774 43.945914 159.529688 0 43.945914-43.945914 43.945914-115.583774 0-159.529688L671.830688 511.699001z" Fill="#FF404040"/>
                </Canvas>
            </Viewbox>
        </ControlTemplate>
    </Window.Resources>
    <Window.Effect>
        <DropShadowEffect ShadowDepth="0" RenderingBias="Quality" BlurRadius="7"/>
    </Window.Effect>
    <Border Margin="5" Background="WhiteSmoke" CornerRadius="7">
        <Grid>
            <ContentControl Width="23" Height="23" Template="{StaticResource CloseButton}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10" MouseLeftButtonUp="ContentControl_MouseLeftButtonUp"/>
            <Frame x:Name="_Frame" NavigationUIVisibility="Hidden"/>
        </Grid>
    </Border>
</Window>
