4dcd4a1fa0
- nascosti comandi Update BTL e Add To BTL - creato ma lasciato commentato comando per ruotare trave di 90 su X
68 lines
3.3 KiB
XML
68 lines
3.3 KiB
XML
<EgtFloating:EgtFloatingPanel x:Class="ProdManagerV"
|
|
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"
|
|
IsEnabled="{Binding ProdManager_IsEnabled}"
|
|
Style="{StaticResource ToolBar_EgtFloatingPanel}">
|
|
|
|
<!--Barra superiore dei comandi-->
|
|
<Button Command="{Binding OpenCommand}"
|
|
ToolTip="{Binding OpenToolTip}"
|
|
ContextMenuService.Placement="Bottom"
|
|
Tag="{Binding}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Button.ContextMenu>
|
|
<ContextMenu ItemsSource="{Binding MruFileNames}">
|
|
<ContextMenu.Resources>
|
|
<Style TargetType="{x:Type MenuItem}">
|
|
<Setter Property="Command"
|
|
Value="{Binding PlacementTarget.Tag.OpenMruFileCommand, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}}" />
|
|
<Setter Property="CommandParameter" Value="{Binding}" />
|
|
</Style>
|
|
</ContextMenu.Resources>
|
|
</ContextMenu>
|
|
</Button.ContextMenu>
|
|
|
|
<Image Source="/Resources/ProjectManager/Open.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding SaveCommand}"
|
|
ToolTip="{Binding SaveToolTip}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/Save.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<!--<Button Command="{Binding SaveAsCommand}"
|
|
ToolTip="{Binding SaveAsToolTip}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/SaveAs.png" Stretch="Uniform"/>
|
|
</Button>-->
|
|
<Button Command="{Binding AddProj_Command}"
|
|
ToolTip="{Binding AddProj_ToolTip}"
|
|
Visibility="Collapsed"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/Import.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding GoToProj_Command}"
|
|
ToolTip="{Binding GoToProj_ToolTip}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/GoToProj.png" Stretch="Uniform"/>
|
|
</Button>
|
|
|
|
<!--<Button Command="{Binding OptionsCommand}"
|
|
ToolTip="{Binding OptionsToolTip}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/Options.png" Height="22"/>
|
|
</Button>-->
|
|
<!--<Button Command="{Binding SendFeedbackCommand}"
|
|
ToolTip="{Binding SendFeedbackToolTip}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/Send.png" Height="22" Margin="3,0,3,0" />
|
|
</Button>-->
|
|
<!--<Button Command="{Binding UpdateBTL_Command}" ToolTip="{Binding UpdateBTLToolTip}"
|
|
Style="{StaticResource ToolBar_Button}">
|
|
<Image Source="/Resources/ProjectManager/Import.png" Stretch="Uniform"/>
|
|
</Button>-->
|
|
|
|
</EgtFloating:EgtFloatingPanel>
|