<Window x:Class="SlnMesnac.WPF.Page.IndexPage.AddTaskContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:SlnMesnac.WPF.Page.IndexPage"
             mc:Ignorable="d" 
             Height="360" Width="315" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
    <Border Margin="5" Background="White" CornerRadius="10">
        <Border.Effect>
            <DropShadowEffect Color="Gray" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
        </Border.Effect>
        <StackPanel Grid.Column="1" Margin="0,10" VerticalAlignment="Top">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="60"/>
                    <RowDefinition Height="60"/>
                    <RowDefinition Height="60"/>
                    <RowDefinition Height="60"/>
                    <RowDefinition Height="60"/>

                </Grid.RowDefinitions>

                <StackPanel Grid.Row="0" Orientation="Horizontal">
                    <Label Content="任务编号" Width="64" VerticalAlignment="Center"/>
                    <TextBox Name="taskNo" Width="188" Height="36" IsReadOnly="True"/>
                </StackPanel>
                <StackPanel Grid.Row="1" Orientation="Horizontal">
                    <Label Content="站台编号" Width="64" VerticalAlignment="Center"/>
                    <ComboBox Name="AreaNo" Width="188" Height="36" DisplayMemberPath="Value" SelectedValuePath="Key"/>
                </StackPanel>

                <StackPanel Grid.Row="2" Orientation="Horizontal">
                    <Label Content="航班号" Width="64" VerticalAlignment="Center"/>
                    <TextBox Name="AirNo" Width="188" Height="36"/>
                </StackPanel>


                <StackPanel Grid.Row="5" Orientation="Horizontal">
                    <Button x:Name="btn_ok" Content="确认" Width="145" Click="btn_ok_Click" />
                    <Button x:Name="btn_cancle" Content="取消" Width="145" Click="btn_cancle_Click" />

                </StackPanel>

            </Grid>
        </StackPanel>

    </Border>
</Window>
