<Window x:Class="Muzzle.Update"
        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:Muzzle"
        mc:Ignorable="d"
        Title="Редактирование продукта" Height="450" Width="800">
    <Grid>
        <StackPanel Orientation = "Vertical" >
            <StackPanel Orientation="Horizontal">
                <Label Content = "Артикул"/>
                <TextBox x:Name="Art" Width="100" Height="15"/>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Наименование"/>
                <TextBox  x:Name="Title" Width = "150" Height="15"/>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Тип продукта"/>
                <ComboBox x:Name="TipeProduct" Width = "150" Height="25" >
                    <ComboBox.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                            <GradientStop Color="#FFF0F0F0" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </ComboBox.Background>
                </ComboBox>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Изображение"/>
                <Button x:Name="btnImage" Content="Изменить изображение" Width="150" Height="20" Background="White" BorderBrush="#FFFDBD40"/>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Количество человек для производства"/>
                <TextBox x:Name="Kol" Width = "100" Height="15"/>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Номер производственого цеха"/>
                <TextBox x:Name="Number" Width = "100" Height="15"/>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Минимальная стоимость для агента"/>
                <TextBox x:Name="CostMin" Width = "100" Height="15"/>
            </StackPanel>
            <StackPanel Orientation = "Horizontal" >
                <Label Content="Описание"/>
                <TextBox x:Name="Opis" Width = "300" Height="100"/>
            </StackPanel>
            <StackPanel Orientation="Vertical">
                <Button x:Name="btnDob" Content="Готово" Width="100" Height="20" HorizontalAlignment="Left" Margin="10,10,0,10" Background="White" BorderBrush="#FFFDBD40"/>
                <Button x:Name="btnNaz" Content="Назад" Width="100" Height="20" HorizontalAlignment="Left" Margin="10,0,0,0" Click="btnNaz_Click" Background="White" BorderBrush="#FFFDBD40"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
