<Page
      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:esoft.Pages"
      xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
      xmlns:Globalization="clr-namespace:System.Globalization;assembly=mscorlib" x:Class="esoft.Pages.EditPriceCoefficient"
      mc:Ignorable="d" 
      Title="Расчет заработной платы" Height="1080" Width="1920">

    <Grid>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Height="1080" Width="1920" Background="White">
            <StackPanel VerticalAlignment="Center" Height="1080" Width="1920" Background="#e8e8e8">
                <Separator Height="50" Background="{x:Null}"/>

                <StackPanel Orientation="Horizontal" Width="1222" HorizontalAlignment = "Left">
                    <Separator Width="20" Background="{x:Null}"/>
                    <TextBlock Style="{StaticResource BlockCommon}" Text="ФИО менеджера:" FontSize="40"/>
                    <Separator Width="6" Background="{x:Null}" />
                    <ComboBox x:Name="cbManager" Width="570" Height="40" FontSize="29" DisplayMemberPath=""/>
                </StackPanel>

                <Separator Height="50" Background="{x:Null}" />

                <StackPanel Width="750" HorizontalAlignment = "Left">
                    <StackPanel Orientation="Horizontal" Width="750" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Junior минимум:" FontSize="40"/>
                        <Separator Width="25" Background="{x:Null}"/>
                        <xctk:IntegerUpDown x:Name="IUDJuniorMin" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}" />
                    <StackPanel Orientation="Horizontal" Width="750" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Middle минимум:" FontSize="40"/>
                        <Separator Width="9" Background="{x:Null}"/>
                        <xctk:IntegerUpDown x:Name="IUDMiddleMin" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}" />
                    <StackPanel Orientation="Horizontal" Width="750" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Senior минимум:" FontSize="40"/>
                        <Separator Width="20" Background="{x:Null}"/>
                        <xctk:IntegerUpDown x:Name="IUDSeniorMin" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                </StackPanel>

                <Separator Height="50" Background="{x:Null}" />

                <StackPanel Width="1000" HorizontalAlignment = "Left">
                    <StackPanel Orientation="Horizontal" Width="1000" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Коэффициент анализа:" FontSize="40"/>
                        <Separator Width="79" Background="{x:Null}"/>
                        <TextBox x:Name="TBoxAnalysisCoefficient" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}" />
                    <StackPanel Orientation="Horizontal" Width="1000" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Коэффициент установки:" FontSize="40"/>
                        <Separator Width="41" Background="{x:Null}"/>
                        <TextBox x:Name="TBoxInstallationCoefficient" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}" />
                    <StackPanel Orientation="Horizontal" Width="1000" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Коэффициент поддержки:" FontSize="40"/>
                        <Separator Width="19" Background="{x:Null}"/>
                        <TextBox x:Name="TBoxSupportCoefficient" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}" />
                    <StackPanel Orientation="Horizontal" Width="1000" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Временной коэффициент:" FontSize="40"/>
                        <Separator Width="21" Background="{x:Null}"/>
                        <TextBox x:Name="TBoxTimeCoefficient" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}" />
                    <StackPanel Orientation="Horizontal" Width="1000" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Коэфициент сложности:" FontSize="40"/>
                        <Separator Width="57" Background="{x:Null}"/>
                        <TextBox x:Name="TBoxDifficultyCoefficient" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                    <Separator Height="10" Background="{x:Null}"/>
                    <StackPanel Orientation="Horizontal" Width="1000" HorizontalAlignment = "Left">
                        <Separator Width="50" Background="{x:Null}"/>
                        <TextBlock Style="{StaticResource BlockCommon}" Text="Денежный коэффициент:" FontSize="40"/>
                        <Separator Width="33" Background="{x:Null}"/>
                        <TextBox x:Name="TBoxToMoneyCoefficient" Width="375" Height="40" FontSize="29"/>
                    </StackPanel>
                </StackPanel>

                <Separator Height="30" Background="{x:Null}" />

                <StackPanel Width="1920" HorizontalAlignment = "Left" Orientation="Horizontal">
                    <Button Grid.Row="3" x:Name="BtnSaveSalaryCoeff" Content="Сохранить" Width="905" Height="79" BorderThickness="0" Margin="16,10,0,15" FontSize="36" HorizontalAlignment = "Left" Click="BtnSaveSalaryCoeff_Click">
                        <Button.Resources>
                            <Style TargetType="{x:Type Border}">
                                <Setter Property="CornerRadius" Value="10"/>
                            </Style>
                        </Button.Resources>
                        <Button.Style>
                            <StaticResource ResourceKey="StandartButtons"/>
                        </Button.Style>
                    </Button>
                    <Separator Width="70" Background="{x:Null}"/>
                    <TextBlock Style="{StaticResource BlockCommon}" Text="Итого заработная плата составляет:" FontSize="35" FontWeight="Bold" TextWrapping="Wrap" Width="650"/>
                    <TextBlock x:Name="TBlockTotalSalary" Style="{DynamicResource Header}" Width="150" TextWrapping="Wrap" FontSize="40"/>
                    <TextBlock Style="{StaticResource BlockCommon}" Text="₽" FontWeight="Bold" TextWrapping="Wrap" Width="650" FontSize="40"/>
                </StackPanel>
            </StackPanel>
        </StackPanel>
    </Grid>
</Page>
