<ext:BorderlessWindow x:Class="MainWindow"
        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:演示WPF程序" AllowsTransparency="True" WindowStyle="None"
        MinWidth="250" MinHeight="250"
        xmlns:fw="clr-namespace:SourceChord.FluentWPF;assembly=FluentWPF"
        xmlns:ext="clr-namespace:Nukepayload2.UI.Xaml;assembly=Nukepayload2.UI.Win32"
        mc:Ignorable="d" BorderBrush="DodgerBlue" BorderThickness="1"
        Title="御魂清理方案试用" Height="480" Width="640">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Nukepayload2.UI.Win32;component/Themes/Generic.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/FluentWPF;component/Styles/Controls.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <Style TargetType="Button" BasedOn="{StaticResource ButtonRevealStyle}">
                <Setter Property="Background" Value="#3F7F7F7F"/>
                <Setter Property="fw:RevealElement.MouseOverBackground" Value="#7FBFBFBF"/>
                <Setter Property="fw:RevealElement.PressTintBrush" Value="#FFCFCFCF"/>
            </Style>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="32"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid x:Name="TitleBar">
            <Rectangle x:Name="TitleBarDragElement" Fill="#01FFFFFF"/>
            <TextBlock Margin="8" IsHitTestVisible="False">御魂清理方案试用</TextBlock>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                <Button x:Name="BtnViewSource" Background="#3F7F007F" BorderThickness="0" Margin="0,0,4,0" VerticalAlignment="Top" Padding="18,4">源码</Button>
                <Button x:Name="BtnAbout" Background="#3F7F007F" BorderThickness="0" Margin="0,0,4,0" VerticalAlignment="Top" Padding="18,4">关于</Button>
                <Button x:Name="BtnMin" Style="{StaticResource MinimizeButtonStyle}" ToolTip="最小化"/>
                <Button x:Name="BtnClose" Style="{StaticResource CloseButtonStyle}" ToolTip="关闭"/>
            </StackPanel>
        </Grid>
        <Border x:Name="ClientArea" fw:PointerTracker.Enabled="True" Grid.Row="1" TextElement.FontSize="14" Padding="4">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <StackPanel Margin="4,0">
                    <TextBlock>1. 导入数据</TextBlock>
                    <TextBlock x:Name="TblDataStatus" TextWrapping="Wrap">数据尚未导入。</TextBlock>
                    <Button Margin="0,4" x:Name="BtnFileDrop" Height="80" Background="LightGray" AllowDrop="True">
                        <TextBlock Text="请将痒痒熊快照产生的 Json 文件拖进来或者点击选取文件" 
                               VerticalAlignment="Center" IsHitTestVisible="False" TextWrapping="Wrap"
                               HorizontalAlignment="Center"/>
                    </Button>
                    <TextBlock>2. 选择方案</TextBlock>
                    <StackPanel Margin="0,2" Orientation="Horizontal">
                        <Button x:Name="BtnExportLao7" Margin="2" Padding="16,8">使用七老爷方案</Button>
                        <Button x:Name="BtnExportAMao" Margin="2" Padding="16,8">使用阿毛方案</Button>
                    </StackPanel>
                    <TextBlock>3. 查看结果</TextBlock>
                </StackPanel>
                <TextBox Margin="4" x:Name="TxtOut" IsReadOnly="True" Grid.Row="1"/>
            </Grid>
        </Border>
    </Grid>
</ext:BorderlessWindow>
