e621fb46d0
- Aggiunti bottoni v e x - Aggiunte dimansioni oggetto - Esteso uso EgtTextBox2 - Modificato RibParamPanel e ShellNumberParamPanel
91 lines
4.0 KiB
XML
91 lines
4.0 KiB
XML
<StackPanel x:Class="ProjManagerV"
|
|
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"
|
|
Orientation="Horizontal"
|
|
IsEnabled="{Binding ProjManager_IsEnabled}">
|
|
|
|
<!--Barra superiore dei comandi-->
|
|
<Button Command="{Binding New_Command}"
|
|
ToolTip="{Binding NewToolTip}"
|
|
IsEnabled="{Binding ProjCmd_IsEnabled}"
|
|
Margin="0,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/New.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding OpenCommand}"
|
|
ToolTip="{Binding OpenToolTip}"
|
|
ContextMenuService.Placement="Bottom"
|
|
Tag="{Binding}"
|
|
IsEnabled="{Binding ProjCmd_IsEnabled}"
|
|
Margin="2.5,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Button.ContextMenu>
|
|
<ContextMenu ItemsSource="{Binding MruFileNames}"
|
|
Style="{StaticResource Icarus_ContextMenu}">
|
|
<ContextMenu.Resources>
|
|
<Style TargetType="{x:Type MenuItem}" BasedOn="{StaticResource Icarus_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"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding SaveCommand}"
|
|
ToolTip="{Binding SaveToolTip}"
|
|
IsEnabled="{Binding ProjCmd_IsEnabled}"
|
|
Margin="2.5,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/Save.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding SaveAsCommand}"
|
|
ToolTip="{Binding SaveAsToolTip}"
|
|
IsEnabled="{Binding ProjCmd_IsEnabled}"
|
|
Margin="2.5,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/SaveAs.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding ImportCommand}"
|
|
ToolTip="{Binding ImportToolTip}"
|
|
IsEnabled="{Binding ProjCmd_IsEnabled}"
|
|
Margin="2.5,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/Import.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding ExportCommand}"
|
|
ToolTip="{Binding ExportToolTip}"
|
|
IsEnabled="{Binding ProjCmd_IsEnabled}"
|
|
Margin="2.5,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/Export.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<!--<Button Command="{Binding ExportCommand}" ToolTip="{Binding ExportToolTip}"
|
|
IsEnabled="{Binding DrawIsChecked}">
|
|
<Image Source="/Resources/ProjectManager/Export.png" Stretch="Uniform"/>
|
|
</Button>-->
|
|
<Button Command="{Binding OptionsCommand}"
|
|
ToolTip="{Binding OptionsToolTip}"
|
|
Margin="2.5,0,2.5,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/Options.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding SendFeedbackCommand}"
|
|
ToolTip="{Binding SendFeedbackToolTip}"
|
|
Margin="2.5,0,0,0"
|
|
Style="{StaticResource ProjManager_Button}">
|
|
<Image Source="/Resources/ProjectManager/Send.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
|
|
</StackPanel>
|