<Window x:Class="AIRS.Sample_Information_Enter"
        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:AIRS"
        mc:Ignorable="d"
        Title="Sample_Information_Enter" Height="360" Width="560" WindowStartupLocation="CenterScreen" Background="#FF18253C" WindowStyle="None" ResizeMode="NoResize" Loaded="Window_Loaded">
    
    <Grid>
        
        <Label Content="试样信息录入" Foreground="White" FontSize="20" FontWeight="Bold" Margin="4,2,0,320" HorizontalAlignment="Left" Width="130" Height="40"></Label>
        <Canvas Background="#FFD7D7D7" Height="264" Margin="0,40,0,54">
            <Label Content="检验项目：" Foreground="Black" FontSize="20" FontWeight="Bold" Canvas.Left="35" Canvas.Top="20"></Label>
            <Label Name="lblnumberp" Content="样品名称：" Foreground="Black" FontSize="20" FontWeight="Bold" Canvas.Left="35" Canvas.Top="65"></Label>
            <Label Name="lblnumbers" Content="编号后缀：" Foreground="Black" FontSize="20" FontWeight="Bold" Canvas.Left="35" Canvas.Top="107"></Label>
            <Label Name="lblInspection_instrument" Content="检验仪器：" Foreground="Black" FontSize="20" FontWeight="Bold" Canvas.Left="35" Canvas.Top="149"></Label>
            <Label Content="图片目录：" Foreground="Black" FontSize="20" FontWeight="Bold" Canvas.Left="35" Canvas.Top="192"></Label>
            <Label Name="input_Inspection_project" Canvas.Left="149" Content="GB/T  7216-2009 石墨形状(自动填写)" BorderBrush="Blue" Canvas.Top="22" Width="330"  FontSize="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>

            <ComboBox Name="input_Number_prefix"  Canvas.Left="149" Canvas.Top="66" Width="359" Background="White" FontSize="20" BorderBrush="Gray" IsEditable="True" />
            <ComboBox Name="input_Number_suffix" Canvas.Left="149" Canvas.Top="109" Width="359" Background="White" FontSize="20" BorderBrush="Gray" IsEditable="True" />
            <ComboBox x:Name="input_Inspection_instrument"  Canvas.Left="149" Canvas.Top="150" Width="359" Background="White" FontSize="20" BorderBrush="Gray" IsEditable="True"/>
            <TextBox x:Name="input_Picture_catalog"  IsReadOnly="True" Canvas.Left="149" BorderBrush="Gray" Canvas.Top="192" Width="260"  FontSize="20" Height="34.5" MaxLength="20"  VerticalContentAlignment="Center"></TextBox>
            <Button x:Name="Browse_folders" Click="btnBrowseFolders_Click" Content="浏览..." HorizontalAlignment="Left" VerticalAlignment="Top" Width="86" Height="34" FontSize="20" Foreground="White" Background="#FF169BD5" Canvas.Left="422" Canvas.Top="192">
                <Button.Template >
                    <ControlTemplate TargetType="{x:Type Button}" >
                        <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
                            <Border.Background>
                                <Brush>#FF169BD5</Brush>
                            </Border.Background>
                            <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>
                    </ControlTemplate>
                </Button.Template>
            </Button>
        </Canvas>
        <Button x:Name="btnOK" Click="btnOK_Click"  Content="确定" HorizontalAlignment="Left" Margin="210,313,0,0" VerticalAlignment="Top" Width="138" Height="37" FontSize="20" Foreground="White" Background="#FF169BD5">
            <Button.Template >
                <ControlTemplate TargetType="{x:Type Button}" >
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
                        <Border.Background>
                            <Brush>#FF169BD5</Brush>
                        </Border.Background>
                        <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button x:Name="btnCanel" Click="btnCanel_Click" Content="取消" HorizontalAlignment="Left" Margin="381,313,0,0" VerticalAlignment="Top" Width="138" Height="37" FontSize="20" Foreground="White" Background="#FF169BD5">
            <Button.Template >
                <ControlTemplate TargetType="{x:Type Button}" >
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
                        <Border.Background>
                            <Brush>#FF169BD5</Brush>
                        </Border.Background>
                        <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>
    </Grid>
</Window>
