69 lines
3.2 KiB
XML
69 lines
3.2 KiB
XML
<EgtFloating:EgtFloatingPanel x:Class="CalcPanelV"
|
|
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}">
|
|
|
|
<Button FontSize="20"
|
|
FontWeight="Light"
|
|
ToolTip="{Binding Verify_ToolTip}"
|
|
Style="{StaticResource ToolBar_Button}"
|
|
Command="{Binding Verify_Command}"
|
|
IsEnabled="{Binding Verify_IsEnabled}">
|
|
<Image Source="/Resources/CALCPanel/Verify.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button FontSize="20"
|
|
FontWeight="Light"
|
|
ToolTip="{Binding VerifyAll_ToolTip}"
|
|
Style="{StaticResource ToolBar_Button}"
|
|
Command="{Binding VerifyAll_Command}"
|
|
IsEnabled="{Binding CALCPanel_IsEnabled}">
|
|
<Image Source="/Resources/CALCPanel/VerifyAll.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding ResetCalc_Command}"
|
|
ToolTip="{Binding ResetCalc_ToolTip}"
|
|
IsEnabled="{Binding CALCPanel_IsEnabled}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/CALCPanel/ResetCalc.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Simulate_ToolTip}"
|
|
Style="{StaticResource ToolBar_Button}"
|
|
Command="{Binding Simulate_Command}"
|
|
IsEnabled="{Binding Simulate_IsEnabled}">
|
|
<Image Source="/Resources/CALCPanel/Simulate.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Edit_ToolTip}"
|
|
Style="{StaticResource ToolBar_Button}"
|
|
Command="{Binding Edit_Command}"
|
|
IsEnabled="{Binding Edit_IsEnabled}"
|
|
Visibility="{Binding ViewPage_Visibility}">
|
|
<Image Source="/Resources/CALCPanel/Edit.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ChooseMachine_ToolTip}"
|
|
Style="{StaticResource ToolBar_Button}"
|
|
Command="{Binding ChooseMachine_Command}"
|
|
IsEnabled="{Binding CALCPanel_IsEnabled}"
|
|
Visibility="{Binding ChooseMachineBtn_Visibility}">
|
|
<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 ItemsSource="{Binding Path=MachineList}" DisplayMemberPath="Name"
|
|
SelectedItem="{Binding Path=SelectedMachine}" SelectedValuePath="Name"
|
|
Height="22" Width="150"
|
|
Grid.Column="0"/>
|
|
<Button Content="OK"
|
|
FontSize="10"
|
|
FontWeight="Light"
|
|
Style="{StaticResource ToolBar_Button}"
|
|
Command="{Binding Ok_Command}"
|
|
Grid.Column="1"/>
|
|
</Grid>
|
|
|
|
</EgtFloating:EgtFloatingPanel>
|