<Grid x:Class="OnlyProdMachinePanelV"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      IsEnabled="{Binding MachPanel_IsEnabled}">

   <Grid.ColumnDefinitions>
      <ColumnDefinition Width="1*"/>
      <ColumnDefinition Width="1*"/>
   </Grid.ColumnDefinitions>

   <Grid Margin="0,0,5,0">
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="1*"/>
         <ColumnDefinition Width="1*"/>
      </Grid.ColumnDefinitions>
      <TextBlock Text="Macchina corrente" 
                 VerticalAlignment="Center"  
                 Margin="0,0,5,0"
                 Foreground="{StaticResource BeamWall_Corduroy}"/>
      <!--Combobox per selezionare la macchina corrente-->
      <ComboBox Grid.Column="1"
                ItemsSource="{Binding Path=MachineList}" DisplayMemberPath="Name"
                SelectedItem="{Binding Path=SelectedMachine}" SelectedValuePath="Name"
                Style="{StaticResource OnlyProdCalcPanel_ComboBox}"/>
   </Grid>
   <StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
      <Button Content="{Binding ToolDBMsg}"
              ToolTip="{Binding ToolDBToolTip}"
              Command="{Binding ToolDbCommand}"
              Style="{StaticResource GeneralConfigurationToolBar_TextButton}"/>
      <Button Content="{Binding MachiningDbMsg}"
              Command="{Binding MachDbCommand}" 
              ToolTip="{Binding MachiningDbToolTip}"
              Style="{StaticResource GeneralConfigurationToolBar_TextButton}" Width="100"/>
      <Button Content="{Binding SetUpMsg}"
              Command="{Binding SetUpCommand}" 
              ToolTip="{Binding SetUpToolTip}"
              Style="{StaticResource GeneralConfigurationToolBar_TextButton}"
              Visibility="{Binding SetUp_Visibility}"/>
      <Button ToolTip="{Binding BeamTable_ToolTip}"
              Command="{Binding BeamTable_Command}"
              Visibility="{Binding BeamTable_Visibility}"
              Style="{StaticResource ToolBarWarehouse_Button}">
         <Image Source="/Resources/Configuration/MachiningsTable.png" Stretch="Uniform"/>
      </Button>
      <Button ToolTip="{Binding WallTable_ToolTip}"
              Command="{Binding WallTable_Command}"
              Visibility="{Binding WallTable_Visibility}"
              Style="{StaticResource ToolBarWarehouse_Button}">
         <Image Source="/Resources/Configuration/MachiningsTable.png" Stretch="Uniform"/>
      </Button>
      <Button Content="{Binding ParameterMachineMsg}"
              ToolTip="{Binding ParameterMachineMsg}"
              Command="{Binding ParameterMachine_Command}"
              Style="{StaticResource MachineToolBar_ParameterMachineButton}" Width="140"/>
   </StackPanel>

</Grid>
