<UserControl x:Class="OptionsPageUC"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
   xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
   mc:Ignorable="d" 
   d:DesignHeight="853.3" d:DesignWidth="1280">

   <!-- Definizione della OptionsPage -->
   <Grid>
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="5*"/>
         <ColumnDefinition Width="3*"/>
         <ColumnDefinition Width="2*"/>
         <ColumnDefinition Width="3*"/>
         <ColumnDefinition Width="2*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1.5*"/>
         <RowDefinition Height="0.25*"/>
         <RowDefinition Height="0.5*"/>
         <RowDefinition Height="3.5*"/>
         <RowDefinition Height="2*"/>
         <RowDefinition Height="2*"/>
      </Grid.RowDefinitions>

      <GroupBox Name="LanguageGpBx" Grid.RowSpan="3" Style="{DynamicResource OmagCut_GroupBox}">
         <Grid >
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="0.5*"/>
               <ColumnDefinition Width="4*"/>
               <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
               <RowDefinition Height="0.25*"/>
               <RowDefinition Height="0.5*"/>
               <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <ComboBox Name="LanguageCmBx"
                      Grid.Column="1" Grid.Row="1"
                      MinWidth="49"
                      Style="{StaticResource OmagCut_ComboBox}">
               <ComboBox.ItemTemplate>
                  <DataTemplate>
                     <TextBlock Text="{Binding LanguageName}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
                  </DataTemplate>
               </ComboBox.ItemTemplate>
            </ComboBox>

            <TextBlock Name="LanguageMsgTxBl" Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="3"
               Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
         </Grid>

      </GroupBox>

      <GroupBox Name="UnitsOfMeasureGpBx"
                Grid.Column="1"
                Grid.RowSpan="3"
                Style="{DynamicResource OmagCut_GroupBox}">
         <Grid >
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="0.5*"/>
               <ColumnDefinition Width="4*"/>
               <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
               <RowDefinition Height="0.25*"/>
               <RowDefinition Height="0.5*"/>
               <RowDefinition Height="0.25*"/>
            </Grid.RowDefinitions>

            <ComboBox Name="UnitsOfMeasureCmBx" Grid.Column="1" Grid.Row="1" Style="{StaticResource OmagCut_ComboBox}">
               <ComboBox.ItemTemplate>
                  <DataTemplate>
                     <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
                  </DataTemplate>
               </ComboBox.ItemTemplate>
            </ComboBox>

         </Grid>

      </GroupBox>

        <GroupBox Name="TextColorGpBx"
                Grid.Column="2" Grid.RowSpan="3" Grid.ColumnSpan="1"
                Style="{DynamicResource OmagCut_GroupBox}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.25*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.25*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="0.5*"/>
                </Grid.RowDefinitions>

                <Button Name="TextColorBtn"
                          Grid.Row="1" Grid.Column="1"
                          Style="{StaticResource OmagCut_Button}" />
            </Grid>

        </GroupBox>

        <GroupBox Name="FastGridGpBx"
                Grid.Column="1" Grid.Row="4" Grid.ColumnSpan="2"
                Style="{DynamicResource OmagCut_GroupBox}">
         <Grid>
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="0.25*"/>
               <ColumnDefinition Width="2.5*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="0.25*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
               <RowDefinition Height="0.25*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="0.25*"/>
            </Grid.RowDefinitions>

            <ToggleButton Name="EnableFastGridBtn"
                          Grid.Row="1" Grid.Column="2"
                          Style="{DynamicResource OmagCut_YellowToggleButton}" />

            <TextBlock Name="FastGridTxBl"
                       Grid.Column="1" Grid.Row="1"
                       Margin="0,0,5,0"
                       Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" HorizontalAlignment="Left" />
         </Grid>

      </GroupBox>

       
       
        <GroupBox Name="SlabGpBx" Grid.RowSpan="1" 
                  Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2"
                  Style="{DynamicResource OmagCut_GroupBox}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="2*"/>
                    <ColumnDefinition Width="2*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                </Grid.RowDefinitions>

                <TextBlock Name="SlabLayerMsgTxBl" Grid.Column="0" Grid.Row="0" 
               Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <TextBlock Name="PartsLayerMsgTxBl" Grid.Column="0" Grid.Row="1" 
               Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <TextBlock Name="ScrapLayerMsgTxBl" Grid.Column="0" Grid.Row="2" 
               Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <TextBlock Name="StdThickMsgTxBl" Grid.Column="0" Grid.Row="3" 
               Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <EgtWPFLib:EgtTextBox Name="SlabLayerMsgTxBx" Grid.Column="1" Grid.Row="0" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_LeftKeyboardTextBoxNoBorder}" />

                <EgtWPFLib:EgtTextBox Name="PartsLayerMsgTxBx" Grid.Column="1" Grid.Row="1" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_LeftKeyboardTextBoxNoBorder}" />

                <EgtWPFLib:EgtTextBox Name="ScrapLayerMsgTxBx" Grid.Column="1" Grid.Row="2" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_LeftKeyboardTextBoxNoBorder}" />

                <EgtWPFLib:EgtTextBox Name="StdThickMsgTxBx" Grid.Column="1" Grid.Row="3" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
            </Grid>

        </GroupBox>

        <!--Incilinazione da colore-->
        <GroupBox Name="ColorToSideAngGpBx" Grid.RowSpan="3" 
                  Grid.Column="0" Grid.Row="3"
                  Style="{DynamicResource OmagCut_GroupBox}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0*"/>
                    <ColumnDefinition Width="2*"/>
                    <ColumnDefinition Width="0"/>
                    <ColumnDefinition Width="2*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.75*"/>
                    <RowDefinition Height="0.25*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                </Grid.RowDefinitions>

                <Grid Grid.Row="0" Grid.ColumnSpan="7">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="1.5*"/>
                        <ColumnDefinition Width="0.5*"/>
                        <ColumnDefinition Width="2*"/>
                        <ColumnDefinition Width="1.5*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0.75*"/>
                    </Grid.RowDefinitions>

                    <CheckBox Name="CTSAboxEnableChBx" Grid.Column="0" Grid.Row="0"
                        Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                    <TextBlock Name="CTSAboxEnableMsgTxBl" Grid.Column="1" Grid.Row="0"
                        Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" HorizontalAlignment="Left" />

                    <TextBlock Name="ToleranceMsgTxBl" Grid.Column="3" Grid.Row="0"
                        Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                    <EgtWPFLib:EgtTextBox Name="ToleranceMsgTxBx" Grid.Column="4" Grid.Row="0" Margin="10,0,10,0"
                        Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                </Grid>
                
                <TextBlock Name="TalloneMsgTxBl" Grid.Column="5" Grid.Row="1" Grid.ColumnSpan="2"
                     Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <TextBlock Name="InclinazioneMsgTxBl" Grid.Column="3" Grid.Row="1" 
                     Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
              
                    
                <CheckBox Name="CTSA1EnableChBx" Grid.Column="0" Grid.Row="2"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA1Btn" Grid.Row="2" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTSA1TalloneTxBx" Grid.Column="5" Grid.Row="2" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTSA1InclinazioneTxBx" Grid.Column="3" Grid.Row="2" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA2EnableChBx" Grid.Column="0" Grid.Row="3" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA2Btn" Grid.Row="3" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTSA2TalloneTxBx" Grid.Column="5" Grid.Row="3" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTSA2InclinazioneTxBx" Grid.Column="3" Grid.Row="3" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA3EnableChBx" Grid.Column="0" Grid.Row="4" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA3Btn" Grid.Row="4" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTSA3TalloneTxBx" Grid.Column="5" Grid.Row="4" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTSA3InclinazioneTxBx" Grid.Column="3" Grid.Row="4" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA4EnableChBx" Grid.Column="0" Grid.Row="5" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA4Btn" Grid.Row="5" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA4TalloneMsgTxBl" Grid.Column="2" Grid.Row="5" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA4TalloneTxBx" Grid.Column="5" Grid.Row="5" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA4InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="5" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA4InclinazioneTxBx" Grid.Column="3" Grid.Row="5" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA5EnableChBx" Grid.Column="0" Grid.Row="6" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA5Btn" Grid.Row="6" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA5TalloneMsgTxBl" Grid.Column="2" Grid.Row="6" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA5TalloneTxBx" Grid.Column="5" Grid.Row="6" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA5InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="6" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA5InclinazioneTxBx" Grid.Column="3" Grid.Row="6" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA6EnableChBx" Grid.Column="0" Grid.Row="7" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA6Btn" Grid.Row="7" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA6TalloneMsgTxBl" Grid.Column="2" Grid.Row="7" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA6TalloneTxBx" Grid.Column="5" Grid.Row="7" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA6InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="7" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA6InclinazioneTxBx" Grid.Column="3" Grid.Row="7" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA7EnableChBx" Grid.Column="0" Grid.Row="8" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA7Btn" Grid.Row="8" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA7TalloneMsgTxBl" Grid.Column="2" Grid.Row="8" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA7TalloneTxBx" Grid.Column="5" Grid.Row="8" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA7InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="8" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA7InclinazioneTxBx" Grid.Column="3" Grid.Row="8" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA8EnableChBx" Grid.Column="0" Grid.Row="9" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA8Btn" Grid.Row="9" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA8TalloneMsgTxBl" Grid.Column="2" Grid.Row="9" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA8TalloneTxBx" Grid.Column="5" Grid.Row="9" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA8InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="9" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA8InclinazioneTxBx" Grid.Column="3" Grid.Row="9" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA9EnableChBx" Grid.Column="0" Grid.Row="10" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA9Btn" Grid.Row="10" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA9TalloneMsgTxBl" Grid.Column="2" Grid.Row="10" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA9TalloneTxBx" Grid.Column="5" Grid.Row="10" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA9InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="10" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA9InclinazioneTxBx" Grid.Column="3" Grid.Row="10" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTSA10EnableChBx" Grid.Column="0" Grid.Row="11" 
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTSA10Btn" Grid.Row="11" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <TextBlock Name="CTSA10TalloneMsgTxBl" Grid.Column="2" Grid.Row="11" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA10TalloneTxBx" Grid.Column="5" Grid.Row="11" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <TextBlock Name="CTSA10InclinazioneMsgTxBl" Grid.Column="4" Grid.Row="11" 
                     Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                <EgtWPFLib:EgtTextBox Name="CTSA10InclinazioneTxBx" Grid.Column="3" Grid.Row="11" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
            </Grid>

        </GroupBox>

        <GroupBox Name="ThemesGpBx"
                Grid.Column="1"
                  Grid.Row="5" 
                  Grid.ColumnSpan="2"
                Style="{DynamicResource OmagCut_GroupBox}">
            <Grid >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="4*"/>
                    <ColumnDefinition Width="0.5*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.25*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.25*"/>
                </Grid.RowDefinitions>

                <ComboBox Name="ThemesCmBx" Grid.Column="1" Grid.Row="1" Style="{StaticResource OmagCut_ComboBox}">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>

            </Grid>

        </GroupBox>

        <!--Affondamneto da Colore-->
        <GroupBox Name="ColorToEngraveGpBx" Grid.RowSpan="3" 
                  Grid.Column="3" Grid.ColumnSpan="2" Grid.Row="3"
                  Style="{DynamicResource OmagCut_GroupBox}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0*"/>
                    <ColumnDefinition Width="2*"/>
                    <ColumnDefinition Width="0"/>
                    <ColumnDefinition Width="2*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.75*"/>
                    <RowDefinition Height="0.25*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                </Grid.RowDefinitions>

                <Grid Grid.Row="0" Grid.ColumnSpan="7">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="1.5*"/>
                        <ColumnDefinition Width="0.5*"/>
                        <ColumnDefinition Width="2*"/>
                        <ColumnDefinition Width="1.5*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0.75*"/>
                    </Grid.RowDefinitions>

                    <CheckBox Name="CTEboxEnableChBx" Grid.Column="0" Grid.Row="0"
                        Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                    <TextBlock Name="CTEboxEnableMsgTxBl" Grid.Column="1" Grid.Row="0"
                        Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" HorizontalAlignment="Left" />

                    <TextBlock Name="ToleranceEMsgTxBl" Grid.Column="3" Grid.Row="0"
                        Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
                    <EgtWPFLib:EgtTextBox Name="ToleranceEMsgTxBx" Grid.Column="4" Grid.Row="0" Margin="10,0,10,0"
                        Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                </Grid>

                <TextBlock Name="AffondamentoMsgTxBl" Grid.Column="3" Grid.Row="1" Grid.ColumnSpan="2"
                     Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <TextBlock Name="LarghezzaMsgTxBl" Grid.Column="5" Grid.Row="1" Grid.ColumnSpan="2"
                     Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <CheckBox Name="CTE1EnableChBx" Grid.Column="0" Grid.Row="2"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE1Btn" Grid.Row="2" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE1AffondamentoTxBx" Grid.Column="3" Grid.Row="2" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE1LarghezzaTxBx" Grid.Column="5" Grid.Row="2" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE2EnableChBx" Grid.Column="0" Grid.Row="3"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE2Btn" Grid.Row="3" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE2AffondamentoTxBx" Grid.Column="3" Grid.Row="3" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE2LarghezzaTxBx" Grid.Column="5" Grid.Row="3" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE3EnableChBx" Grid.Column="0" Grid.Row="4"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE3Btn" Grid.Row="4" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE3AffondamentoTxBx" Grid.Column="3" Grid.Row="4" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE3LarghezzaTxBx" Grid.Column="5" Grid.Row="4" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE4EnableChBx" Grid.Column="0" Grid.Row="5"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE4Btn" Grid.Row="5" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE4AffondamentoTxBx" Grid.Column="3" Grid.Row="5" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE4LarghezzaTxBx" Grid.Column="5" Grid.Row="5" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE5EnableChBx" Grid.Column="0" Grid.Row="6"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE5Btn" Grid.Row="6" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE5AffondamentoTxBx" Grid.Column="3" Grid.Row="6" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE5LarghezzaTxBx" Grid.Column="5" Grid.Row="6" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE6EnableChBx" Grid.Column="0" Grid.Row="7"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE6Btn" Grid.Row="7" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE6AffondamentoTxBx" Grid.Column="3" Grid.Row="7" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE6LarghezzaTxBx" Grid.Column="5" Grid.Row="7" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE7EnableChBx" Grid.Column="0" Grid.Row="8"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE7Btn" Grid.Row="8" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE7AffondamentoTxBx" Grid.Column="3" Grid.Row="8" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE7LarghezzaTxBx" Grid.Column="5" Grid.Row="8" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE8EnableChBx" Grid.Column="0" Grid.Row="9"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE8Btn" Grid.Row="9" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE8AffondamentoTxBx" Grid.Column="3" Grid.Row="9" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE8LarghezzaTxBx" Grid.Column="5" Grid.Row="9" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE9EnableChBx" Grid.Column="0" Grid.Row="10"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE9Btn" Grid.Row="10" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE9AffondamentoTxBx" Grid.Column="3" Grid.Row="10" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE9LarghezzaTxBx" Grid.Column="5" Grid.Row="10" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <CheckBox Name="CTE10EnableChBx" Grid.Column="0" Grid.Row="11"
                     Style="{StaticResource OmagCut_CheckBox_Single}" Margin="0,0,10,0"/>
                <Button Name="CTE10Btn" Grid.Row="11" Grid.Column="1"
                     Style="{StaticResource OmagCut_Button}" />
                <EgtWPFLib:EgtTextBox Name="CTE10AffondamentoTxBx" Grid.Column="3" Grid.Row="11" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />
                <EgtWPFLib:EgtTextBox Name="CTE10LarghezzaTxBx" Grid.Column="5" Grid.Row="11" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

            </Grid>

        </GroupBox>

        <!--Selezione il tipo di avvio del programma-->
        <GroupBox Name="StartLauncherGpBx"
                Grid.Column="3" Grid.RowSpan="3" Grid.ColumnSpan="1"
                Style="{DynamicResource OmagCut_GroupBox}">
            <Grid >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="4*"/>
                    <ColumnDefinition Width="0.5*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.25*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.25*"/>
                </Grid.RowDefinitions>

                <ComboBox Name="StartLauncherCmBx" Grid.Column="1" Grid.Row="1" Style="{StaticResource OmagCut_ComboBox}">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>

            </Grid>
        </GroupBox>
       
        <GroupBox Name="FeedbackGpBx"
                Grid.Column="4" Grid.RowSpan="3" Grid.ColumnSpan="1"
                Style="{DynamicResource OmagCut_GroupBox}">
            <Grid>
                <Grid.ColumnDefinitions>
                   <ColumnDefinition Width="0.25*"/>
                   <ColumnDefinition Width="1*"/>
                   <ColumnDefinition Width="0.25*"/>
                </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="0.5*"/>
                            <RowDefinition Height="1*"/>
                            <RowDefinition Height="0.5*"/>
                        </Grid.RowDefinitions>
                
                        <Button Name="FeedbackBtn"
                              Grid.Row="1" Grid.Column="1"
                              Style="{DynamicResource OmagCut_YellowIconButton}">
                        <Image Source="{DynamicResource SendImg}" Style="{StaticResource OmagCut_ArrowButtonIcon}"/>
                </Button>
            </Grid>

      </GroupBox>

   </Grid>

</UserControl>
