<Window x:Class="MWS.Domain.View.SystemManage.CloseWindow"
        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:md="http://materialdesigninxaml.net/winfx/xaml/themes" 
        xmlns:local="clr-namespace:MWS.Domain.View.SystemManage"
        mc:Ignorable="d"
        WindowStyle="None"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen"
        Loaded="Window_Loaded"
        Background="#F0F5F8"
        BorderBrush="#2DA6EC"
        Title="CloseWindow" Height="200" Width="500">
    <Grid>
        <StackPanel>
            <StackPanel Height="100" Orientation="Horizontal" >
                <StackPanel Width="100">

                </StackPanel>
                <StackPanel Width="300">
                    <TextBlock Text="退出程序" FontSize="28" Foreground="#4C8FB6" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,20,0,0"></TextBlock>

                </StackPanel>
                <StackPanel  Width="100" Orientation="Horizontal"  DockPanel.Dock="Right" HorizontalAlignment="Right">
                    <Button x:Name="close"  Height="36" Margin="40,0,0,30" Background="Gray" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="close_Click">
                        <TextBlock>
                         <md:PackIcon Kind="CloseOutline" Width="20" Height="20" Margin="0,2"/>
                        </TextBlock>
                    </Button>
                </StackPanel>

            </StackPanel>
            <!--<Border BorderThickness="1" BorderBrush="#4C8FB6"></Border>-->
           
            <!--<Border BorderThickness="1" BorderBrush="#4C8FB6"></Border>-->
            <StackPanel Height="100" Orientation="Horizontal" HorizontalAlignment="Center">
                <Button x:Name="tbClose"  Height="50" Margin="20,20,20,20" Width="150" Background="#2DA6EC" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="tbClose_Click">
                    <TextBlock>
                            <md:PackIcon Kind="Close" Width="25" Height="25" Margin="0,2"/>
                            <Label Content="退出" FontSize="22" Foreground="#FFFFFF" />
                    </TextBlock> 
                </Button>
                <Button x:Name="tbMin"  Height="50" Margin="20,20,20,20" Width="150" Background="#2DA6EC" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="tbMin_Click">
                    <TextBlock>
                            <md:PackIcon Kind="WindowMinimize" Width="25" Height="25" Margin="0,2"/>
                            <Label Content="最小化" FontSize="22" Foreground="#FFFFFF" />
                    </TextBlock>
                </Button>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
