<EgtFloating:EgtFloatingPanel x:Class="OnlyProdCalcPanelV"
                              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                              xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
                              IsTopDockable="True" IsBottomDockable="False" IsLeftDockable="False"
                              IsRightDockable="False" 
                              Style="{StaticResource ToolBar_EgtFloatingPanel_OnlyProd}">
   
   <Button ToolTip="{Binding Verify_ToolTip}"
           Command="{Binding Verify_Command}"
           IsEnabled="{Binding Verify_IsEnabled}"
           Style="{StaticResource ToolBarViewPanel_Button}">
      <Image Source="/Resources/CALCPanel/Verify.png" Stretch="Uniform"/>
   </Button>
   <Button ToolTip="{Binding VerifyAll_ToolTip}"
           Command="{Binding VerifyAll_Command}"
           IsEnabled="{Binding VerifyAll_IsEnabled}"
           Style="{StaticResource ToolBarViewPanel_Button}">
      <Image Source="/Resources/CALCPanel/VerifyAll.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding ResetCalc_Command}"
           ToolTip="{Binding ResetCalc_ToolTip}"
           IsEnabled="{Binding CALCPanel_IsEnabled}"
           Style="{StaticResource ToolBarViewPanel_Button}">
      <Image Source="/Resources/CALCPanel/ResetCalc.png" Stretch="Uniform"/>
   </Button>
   <Button ToolTip="{Binding Simulate_ToolTip}"
           Command="{Binding Simulate_Command}"
           IsEnabled="{Binding Simulate_IsEnabled}"
           Style="{StaticResource ToolBarViewPanel_Button}">
      <Image Source="/Resources/CALCPanel/Simulate.png" Stretch="Uniform"/>
   </Button>
   <Button ToolTip="{Binding Edit_ToolTip}"
           Command="{Binding Edit_Command}"
           IsEnabled="{Binding Edit_IsEnabled}"
           Visibility="{Binding Edit_Visibility}"
           Style="{StaticResource ToolBarViewPanel_Button}">
      <Image Source="/Resources/CALCPanel/Edit.png" Stretch="Uniform"/>
   </Button>
   <Button ToolTip="{Binding ChooseMachine_ToolTip}"
           Command="{Binding ChooseMachine_Command}"
           IsEnabled="{Binding CALCPanel_IsEnabled}"
           Visibility="{Binding ChooseMachineBtn_Visibility}"
           Style="{StaticResource ToolBarViewPanel_Button}">
      <Image Source="/Resources/CALCPanel/ChooseMachine.png" Stretch="Uniform"/>
   </Button>

   <Grid Margin="0,0,5,0" Visibility="{Binding ChooseMachine_Visibility}">
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="Auto"/>
         <ColumnDefinition Width="Auto"/>
      </Grid.ColumnDefinitions>
      <!--Combobox per selezionare la macchina corrente-->
      <ComboBox Grid.Column="0"
                ItemsSource="{Binding Path=MachineList}" 
                DisplayMemberPath="Name"
                SelectedItem="{Binding Path=SelectedMachine}" 
                SelectedValuePath="Name"
                Style="{StaticResource OnlyProdCalcPanel_ComboBox}"/>
      <Button Grid.Column="1"
              Content="OK"
              Command="{Binding Ok_Command}"
              Style="{StaticResource ToolBarOnlyProdCalcPanel_Button}"/>
   </Grid>

</EgtFloating:EgtFloatingPanel>
