<Window x:Class="MWS.Domain.View.History.DateTimeSelectWindow"
        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:MWS.Domain.View.History" 
        xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes" 
        xmlns:ctl="clr-namespace:MWS.Domain.Controls"
        mc:Ignorable="d"
        WindowStyle="None"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen"
        Title="DateTimeSelectWindow" Height="450" Width="800" Background="#AAB7C2">
    <Grid>
        <StackPanel Orientation="Vertical">
            <StackPanel Height="70">
                <Image Name="closeButton" Source="/Assets/Images/close.png" Stretch="Fill" Height="35" Width="35" Margin="0,10,10,0" MouseDown="closeButton_MouseDown" VerticalAlignment="Center" HorizontalAlignment="Right"></Image>
            </StackPanel>
            <StackPanel>
                <TextBlock Text="选择时间范围" FontSize="36" HorizontalAlignment="Center" Foreground="#2DA6EC"></TextBlock>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="20,20" HorizontalAlignment="Center">
                <TextBlock Text="开始时间：" FontSize="32" Foreground="#2DA6EC"></TextBlock>
                <!--<Control:TimePickerControl ></Control:TimePickerControl>-->
                <ctl:TimePickerControl x:Name="tpcBeginTime" HorizontalAlignment="Left"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="20,20" HorizontalAlignment="Center">
                <TextBlock Text="结束时间：" FontSize="32" Foreground="#2DA6EC"></TextBlock>
                <ctl:TimePickerControl x:Name="tpcEndTime" HorizontalAlignment="Left"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="20,20" HorizontalAlignment="Center" Height="100">
                <Button x:Name="select"  Height="36" Margin="10,20,10,20" Background="#2DA6EC" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="select_Click">
                    <TextBlock>
                            <md:PackIcon Kind="CheckOutline" Width="20" Height="20" Margin="0,2"/>
                            <Label Content="选择" FontSize="14" Foreground="#FFFFFF" />
                    </TextBlock>
                </Button>
                <Button x:Name="close"  Height="36" Margin="0,21,10,20" Background="#2DA6EC" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="close_Click">
                    <TextBlock>
                        <md:PackIcon Kind="CloseOutline" Width="20" Height="20" Margin="0,2"/>
                        <Label Content="关闭" FontSize="14" Foreground="#FFFFFF" />
                    </TextBlock>
                </Button>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
