<Window x:Class="ChooseMachining"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   FontFamily="{DynamicResource OmagCut_Font}"
   ResizeMode="NoResize" WindowStyle="None" AllowsTransparency="True" Background="Transparent"
   Title="ChooseMachining" Height="255.9" Width="426.5">
   
   <!--Definizione della pagina di scelta della lavorazione corrente-->
   <Border Style="{DynamicResource OmagCut_Border}">

      <Grid Name="ChooseMachiningGrid">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.5*"/>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="0.5*"/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
             <!--riga di margine lasciata a fine pagina-->
            <RowDefinition Height="0.5*"/>
         </Grid.RowDefinitions>

          <!--TAGLIO-->
         <TextBlock Name="CurrSawingTxBl" Grid.Column="1" Grid.Row="0"
            Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
         <ComboBox Name="CurrSawingCmBx" Grid.Column="1" Grid.Row="1">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" FontSize="20" />
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

          <!--LAVORAZIONE SECONDARIA-->
         <TextBlock Name="AuxiliaryMachiningTxBl" Grid.Column="1" Grid.Row="2"
            Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" Visibility="Hidden"/>
         <ComboBox Name="AuxiliaryMachiningCmBx" Grid.Column="1" Grid.Row="3" Visibility="Hidden">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding sName}" FontSize="20" />
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

          <!--FORATURA-->
         <TextBlock Name="CurrDrillingTxBl" Grid.Column="1" Grid.Row="2"
            Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" Visibility="Hidden"/>
         <ComboBox Name="CurrDrillingCmBx" Grid.Column="1" Grid.Row="3" Visibility="Hidden">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" FontSize="20" />
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

          <!--FRESATURA-->
         <TextBlock Name="CurrMillingTxBl" Grid.Column="1" Grid.Row="2"
            Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" Visibility="Hidden"/>
         <ComboBox Name="CurrMillingCmBx" Grid.Column="1" Grid.Row="3" Visibility="Hidden">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" FontSize="20" />
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

          <!--SVUOTATURA-->
          <TextBlock Name="CurrPocketingTxBl" Grid.Column="1" Grid.Row="2"
          Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" Visibility="Hidden"/>
          <ComboBox Name="CurrPocketingCmBx" Grid.Column="1" Grid.Row="3" Visibility="Hidden">
              <ComboBox.ItemTemplate>
                  <DataTemplate>
                      <TextBlock Text="{Binding}" FontSize="20" />
                  </DataTemplate>
              </ComboBox.ItemTemplate>
          </ComboBox>

            <!--WATERJET-->
            <TextBlock Name="CurrWJettingTxBl" Grid.Column="1" Grid.Row="2"
            Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" Visibility="Hidden"/>

            <Grid Name="WaterJettingUGrd" Grid.Column="1" Grid.Row="3">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="4.5*"/>
                    <ColumnDefinition Width="0.2*"/>
                    <ColumnDefinition Width="2*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>
                <ComboBox Name="CurrWJettingCmBx" Grid.Column="0" Visibility="Hidden">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" FontSize="20" />
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
                <ComboBox Name="CurrWJettingQualityCmBx" Grid.Column="2" Visibility="Hidden">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" FontSize="20" />
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
            </Grid>

            <!--Bottoni Conferma/Cancel -->
         <Grid Name="ButtonsGrid" Grid.Column="1" Grid.Row="3" Grid.RowSpan="2">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="0.5*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>

            <Button Name="OkBtn" Grid.Column="1" Style="{DynamicResource OmagCut_GradientBlueIconButton}"
               IsCancel="True">
               <Image Source="{DynamicResource VImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
            </Button>
            <Button Name="ExitBtn" Grid.Column="3" Style="{DynamicResource OmagCut_GradientBlueIconButton}"
               IsCancel="True">
               <Image Source="{DynamicResource XImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
            </Button>

         </Grid>

      </Grid>

   </Border>

</Window>
