f903f80433
-cambio versione -introdotto finestre EgtMessageBox e EgtManageDialog al posto di quello di Windows -spostato immagni in dizionario -aggiunto messaggi
120 lines
5.3 KiB
XML
120 lines
5.3 KiB
XML
<StackPanel x:Class="ProdManagerV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
IsEnabled="{Binding OptimizerManager_IsEnabled}"
|
|
Style="{StaticResource PartManager_StackPanel}">
|
|
|
|
<StackPanel Style="{StaticResource ProdManager_StackPanel}">
|
|
<Button Command="{Binding ImportBTL_Command}"
|
|
ToolTip="{Binding ImportBTL_ToolTip}"
|
|
Style="{StaticResource BTLProd_Button}">
|
|
<Image Source="{StaticResource FileImport_Image}"
|
|
Style="{StaticResource BTL_Image}"/>
|
|
</Button>
|
|
<Button Name="ImportBtn"
|
|
Command="{Binding ShowPopUpStartBtnCommand}"
|
|
Style="{StaticResource Show_Button}">
|
|
<Image Source="{Binding BtlImage}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</StackPanel>
|
|
<Popup IsOpen="{Binding IsStartBtnOpen}"
|
|
PlacementTarget="{Binding ElementName=ImportBtn}"
|
|
Style="{StaticResource Filter_PopUp}">
|
|
<Border CornerRadius="5"
|
|
BorderThickness="2"
|
|
BorderBrush="{StaticResource BeamWall_Teal}"
|
|
Background="{StaticResource BeamWall_FountainBlue}">
|
|
<StackPanel Style="{StaticResource BTLPartManager_StackPanel}">
|
|
<Button Command="{Binding New_Command}"
|
|
ToolTip="{Binding NewToolTip}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="{StaticResource NewDocument_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Command="{Binding AddProj_Command}"
|
|
ToolTip="{Binding AddProj_ToolTip}"
|
|
Visibility="{Binding AddProj_Visibility}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="{StaticResource AddProj_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</StackPanel>
|
|
</Border>
|
|
</Popup>
|
|
|
|
<StackPanel Style="{StaticResource Open_StackPanel}">
|
|
<Button Command="{Binding OpenCommand}"
|
|
ToolTip="{Binding OpenToolTip}"
|
|
ContextMenuService.Placement="Bottom"
|
|
Tag="{Binding}"
|
|
Style="{StaticResource PrManagerNew_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="{StaticResource OpenFolder_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Name="OpenBtn"
|
|
Command="{Binding ShowPopUpSaveBtnCommand}"
|
|
Style="{StaticResource Show_Button}">
|
|
<Image Source="{Binding OpenImage}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</StackPanel>
|
|
<Popup IsOpen="{Binding IsSaveBtnOpen}"
|
|
PlacementTarget="{Binding ElementName=OpenBtn}"
|
|
Style="{StaticResource Filter_PopUp}">
|
|
<Border CornerRadius="5"
|
|
BorderThickness="2"
|
|
BorderBrush="{StaticResource BeamWall_Teal}"
|
|
Background="{StaticResource BeamWall_FountainBlue}">
|
|
<Button Command="{Binding ImportProject_Command}"
|
|
ToolTip="{Binding ImportProject_ToolTip}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="{StaticResource Import_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</Border>
|
|
</Popup>
|
|
|
|
<StackPanel Style="{StaticResource Open_StackPanel}">
|
|
<Button Command="{Binding SaveCommand}"
|
|
ToolTip="{Binding SaveToolTip}"
|
|
Style="{StaticResource PrManagerNew_Button}">
|
|
<Image Source="{StaticResource Diskette_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Name="SaveBtn"
|
|
Command="{Binding ShowPopUpBtlBtnCommand}"
|
|
Style="{StaticResource Show_Button}">
|
|
<Image Source="{Binding SaveImage}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</StackPanel>
|
|
<Popup IsOpen="{Binding IsBtlBtnOpen}"
|
|
PlacementTarget="{Binding ElementName=SaveBtn}"
|
|
Style="{StaticResource Filter_PopUp}">
|
|
<Border CornerRadius="5"
|
|
BorderThickness="2"
|
|
BorderBrush="{StaticResource BeamWall_Teal}"
|
|
Background="{StaticResource BeamWall_FountainBlue}">
|
|
<Button Command="{Binding ExportProject_Command}"
|
|
ToolTip="{Binding ExportProject_ToolTip}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="{StaticResource Export_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</Border>
|
|
</Popup>
|
|
|
|
</StackPanel>
|