2716 lines
132 KiB
XML
2716 lines
132 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:OPTIMIZER="clr-namespace:EgtBEAMWALL.Optimizer"
|
|
xmlns:EgtBEAMWALLCore="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
xmlns:theme="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2">
|
|
|
|
<!--#region Panel ViewModel-->
|
|
|
|
<!--
|
|
Assign a Key to every Panel ViewModel to use
|
|
it in xaml file(ProjectView.xaml).
|
|
-->
|
|
<OPTIMIZER:MainMenuVM x:Key="MainMenuVM"/>
|
|
<OPTIMIZER:MyStatusBarVM x:Key="StatusBarVM"/>
|
|
<OPTIMIZER:ProjectVM x:Key="ProjectVM"/>
|
|
<EgtWPFLib5:ShowPanelVM x:Key="ShowPanelVM"/>
|
|
<OPTIMIZER:ShowBeamPanelVM x:Key="ShowBeamPanelVM"/>
|
|
<EgtBEAMWALLCore:ViewPanelVM x:Key="ViewPanelVM"/>
|
|
<OPTIMIZER:MyInstrumentPanelVM x:Key="InstrumentPanelVM"/>
|
|
<OPTIMIZER:CALCPanelVM x:Key="CALCPanelVM"/>
|
|
<OPTIMIZER:MachinePanelVM x:Key="MachinePanelVM"/>
|
|
<OPTIMIZER:PartParametersVM x:Key="PartParametersVM"/>
|
|
<OPTIMIZER:LeftPanelVM x:Key="LeftPanelVM"/>
|
|
<OPTIMIZER:ConfigurationPageVM x:Key="ConfigurationPageVM"/>
|
|
<OPTIMIZER:RawPartListVM x:Key="RawPartListVM"/>
|
|
<OPTIMIZER:BTLPartListVM x:Key="PartListVM"/>
|
|
<OPTIMIZER:FeatureInPartInRawPartListVM x:Key="FeatureInPartInRawPartListVM"/>
|
|
<OPTIMIZER:PParameterListVM x:Key="PParameterListVM"/>
|
|
<OPTIMIZER:OptimizePanelVM x:Key="OptimizePanelVM"/>
|
|
<OPTIMIZER:FreeContourManagerVM x:Key="FreeContourManagerVM"/>
|
|
<OPTIMIZER:FreeContourInputVM x:Key="FreeContourInputVM"/>
|
|
<OPTIMIZER:FeatureManagerVM x:Key="FeatureManagerVM"/>
|
|
<OPTIMIZER:StatisticsVM x:Key="StatisticsVM"/>
|
|
<OPTIMIZER:PartManagerVM x:Key="PartManagerVM"/>
|
|
<OPTIMIZER:StatisticsTimePanelVM x:Key="StatisticsTimePanelVM"/>
|
|
<OPTIMIZER:ProdManagerVM x:Key="ProdManagerVM"/>
|
|
<OPTIMIZER:PartParametersVM x:Key="PartParametersWndVM"/>
|
|
<OPTIMIZER:BTLPartManagerVM x:Key="BTLPartManagerVM"/>
|
|
<OPTIMIZER:FeatureListManagerVM x:Key="FeatureListManagerVM"/>
|
|
<OPTIMIZER:RawPartManagerVM x:Key="RawPartManagerVM"/>
|
|
<OPTIMIZER:SpecialPanelVM x:Key="SpecialPanelVM"/>
|
|
<OPTIMIZER:StrategyManagerVM x:Key="StrategyManagerVM"/>
|
|
<OPTIMIZER:ForcedStrategyPanelVM x:Key="ForcedStrategyPanelVM"/>
|
|
<OPTIMIZER:GeneralParametersStrategyVM x:Key="GeneralParametersStrategyVM"/>
|
|
<OPTIMIZER:ViewPanelShowBuildingVM x:Key="ViewPanelShowBuildingVM"/>
|
|
<OPTIMIZER:SceneBuildingVM x:Key="SceneBuildingVM"/>
|
|
|
|
<!--#endregion Panel ViewModel-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Image-->
|
|
|
|
<BitmapImage x:Key="Adjustment_Image" UriSource="/Resources/NewPage/adjustment.png"/>
|
|
<BitmapImage x:Key="AddPart_Image" UriSource="/Resources/LeftPanel/AddPart.png"/>
|
|
<BitmapImage x:Key="UpdateBTL_Image" UriSource="/Resources/ProjectManager/UpdateBTL.png"/>
|
|
<BitmapImage x:Key="HeaderRotate_Image" UriSource="/Resources/NewPage/RotateIntestazione.png"/>
|
|
<BitmapImage x:Key="Rotate_Image" UriSource="/Resources/NewPage/Rotate.png"/>
|
|
<BitmapImage x:Key="HeaderInversion_Image" UriSource="/Resources/NewPage/InversionIntestazione.png"/>
|
|
<BitmapImage x:Key="HeaderVerify_Image" UriSource="/Resources/NewPage/VerifyIntestazione.png"/>
|
|
<BitmapImage x:Key="Verify_Image" UriSource="/Resources/CALCPanel/Verify.png"/>
|
|
<BitmapImage x:Key="HeaderAddToRawPart_Image" UriSource="/Resources/NewPage/AddToRawPartIntestazione.png"/>
|
|
<BitmapImage x:Key="AddToRawPart_Image" UriSource="/Resources/LeftPanel/AddToRawPart.png"/>
|
|
<BitmapImage x:Key="HeaderSetting_Image" UriSource="/Resources/NewPage/SettingIntestazione.png"/>
|
|
<BitmapImage x:Key="Setting_Image" UriSource="/Resources/NewPage/Setting.png"/>
|
|
<BitmapImage x:Key="Edit_Image" UriSource="/Resources/CALCPanel/Edit.png"/>
|
|
<BitmapImage x:Key="Ok_Image" UriSource="/Resources/NewPage/Ok.png"/>
|
|
<BitmapImage x:Key="Delete_Image" UriSource="/Resources/PDFEditor/Delete.png"/>
|
|
<BitmapImage x:Key="CopyPart_Image" UriSource="/Resources/LeftPanel/CopyPart.png"/>
|
|
<BitmapImage x:Key="Remove_Image" UriSource="/Resources/NewPage/Remove.png"/>
|
|
<BitmapImage x:Key="Simulate_Image" UriSource="/Resources/CALCPanel/Simulate.png"/>
|
|
<BitmapImage x:Key="ResetCalc_Image" UriSource="/Resources/CALCPanel/ResetCalc.png"/>
|
|
<BitmapImage x:Key="ChooseMachine_Image" UriSource="/Resources/CALCPanel/ChooseMachine.png"/>
|
|
<BitmapImage x:Key="Save_Image" UriSource="/Resources/ProjectManager/Save.png"/>
|
|
<BitmapImage x:Key="CopyFeature_Image" UriSource="/Resources/LeftPanel/CopyFeature.png"/>
|
|
<BitmapImage x:Key="AddFeature_Image" UriSource="/Resources/LeftPanel/AddFeature.png"/>
|
|
<BitmapImage x:Key="MacroFeature_Image" UriSource="/Resources/LeftPanel/MacroFeature.png"/>
|
|
<BitmapImage x:Key="Line2P_Image" UriSource="/Resources/DrawPanel/Line2P.png"/>
|
|
<BitmapImage x:Key="DeleteD_Image" UriSource="/Resources/DrawPanel/Delete.png"/>
|
|
<BitmapImage x:Key="ModifyCurve_Image" UriSource="/Resources/DrawPanel/ModifyCurve.png"/>
|
|
<BitmapImage x:Key="AddPointCurve_Image" UriSource="/Resources/DrawPanel/AddPointCurve.png"/>
|
|
<BitmapImage x:Key="RemovePointCurve_Image" UriSource="/Resources/DrawPanel/RemovePointCurve.png"/>
|
|
<BitmapImage x:Key="ChangeStart_Image" UriSource="/Resources/DrawPanel/ChangeStart.png"/>
|
|
<BitmapImage x:Key="InvertCurve_Image" UriSource="/Resources/DrawPanel/InvertCurve.png"/>
|
|
<BitmapImage x:Key="Move_Image" UriSource="/Resources/DrawPanel/Move.png"/>
|
|
<BitmapImage x:Key="RotateD_Image" UriSource="/Resources/DrawPanel/Rotate.png"/>
|
|
<BitmapImage x:Key="Text_Image" UriSource="/Resources/DrawPanel/Text.png"/>
|
|
<BitmapImage x:Key="Plus_Image" UriSource="/Resources/NewPage/+.png"/>
|
|
<BitmapImage x:Key="DeselectAll_Image" UriSource="/Resources/NewPage/deselectall.png"/>
|
|
<BitmapImage x:Key="SelectAll_Image" UriSource="/Resources/NewPage/selectall.png"/>
|
|
<BitmapImage x:Key="GetDist_Image" UriSource="/Resources/InstrumentPanel/GetDist+.png"/>
|
|
<BitmapImage x:Key="ChangeParam_Image" UriSource="/Resources/InstrumentPanel/ChangeParam.png"/>
|
|
<BitmapImage x:Key="HeaderProduceRawPart_Image" UriSource="/Resources/NewPage/ProduceRawPartIntestazione.png"/>
|
|
<BitmapImage x:Key="ProduceRawPart_Image" UriSource="/Resources/TopPanel/ProduceRawPart.png"/>
|
|
<BitmapImage x:Key="CopyRawPart_Image" UriSource="/Resources/TopPanel/CopyRawPart.png"/>
|
|
<BitmapImage x:Key="ReOrderPart_Image" UriSource="/Resources/TopPanel/ReOrderPart.png"/>
|
|
<BitmapImage x:Key="HeaderRotateRawPart_Image" UriSource="/Resources/NewPage/RotateIntestazioneRawPart.png"/>
|
|
<BitmapImage x:Key="HeaderInversionRawPart_Image" UriSource="/Resources/NewPage/InversionIntestazioneRawPart.png"/>
|
|
<BitmapImage x:Key="MoveUp_Image" UriSource="/Resources/NewPage/MoveUp.png"/>
|
|
<BitmapImage x:Key="MoveDown_Image" UriSource="/Resources/NewPage/MoveDown.png"/>
|
|
<BitmapImage x:Key="VerifyAll_Image" UriSource="/Resources/CALCPanel/VerifyAll.png"/>
|
|
<BitmapImage x:Key="VerifyAllR_Image" UriSource="/Resources/NewPage/VerifyAllR.png"/>
|
|
<BitmapImage x:Key="AllFilter_Image" UriSource="/Resources/LeftPanel/All_Filter.png"/>
|
|
<BitmapImage x:Key="Inversion_Image" UriSource="/Resources/NewPage/Inversion.png"/>
|
|
<BitmapImage x:Key="Send_Image" UriSource="/Resources/MainMenu/Send.png"/>
|
|
<BitmapImage x:Key="MoveLeftParts_Image" UriSource="/Resources/MovePartInRawPart/MoveLeftParts.png"/>
|
|
<BitmapImage x:Key="MoveRightParts_Image" UriSource="/Resources/MovePartInRawPart/MoveRightParts.png"/>
|
|
<BitmapImage x:Key="Warehouse_Image" UriSource="/Resources/OptimizePanel/Warehouse.png"/>
|
|
<BitmapImage x:Key="Analyze_Image" UriSource="/Resources/InstrumentPanel/Analyze.png"/>
|
|
<BitmapImage x:Key="Part_Image" UriSource="/Resources/NewPage/pezzo.png"/>
|
|
<BitmapImage x:Key="Statistics_Image" UriSource="/Resources/InstrumentPanel/Statistics.png"/>
|
|
<BitmapImage x:Key="FileImport_Image" UriSource="/Resources/NewPage/fileimport.png"/>
|
|
<BitmapImage x:Key="NewDocument_Image" UriSource="/Resources/NewPage/newdocument.png"/>
|
|
<BitmapImage x:Key="AddProj_Image" UriSource="/Resources/ProjectManager/AddProj.png"/>
|
|
<BitmapImage x:Key="OpenFolder_Image" UriSource="/Resources/NewPage/openfolder.png"/>
|
|
<BitmapImage x:Key="Import_Image" UriSource="/Resources/NewPage/import.png"/>
|
|
<BitmapImage x:Key="Diskette_Image" UriSource="/Resources/NewPage/diskette.png"/>
|
|
<BitmapImage x:Key="Export_Image" UriSource="/Resources/NewPage/export.png"/>
|
|
<BitmapImage x:Key="NewRawPart_Image" UriSource="/Resources/LeftPanel/NewRawPart.png"/>
|
|
<BitmapImage x:Key="ProduceAllRawPart_Image" UriSource="/Resources/TopPanel/ProduceAllRawPart.png"/>
|
|
<BitmapImage x:Key="MovePartInRawPart_Image" UriSource="/Resources/TopPanel/MovePartInRawPart.png"/>
|
|
<BitmapImage x:Key="ShowAll_Image" UriSource="/Resources/ShowBeamPanel/ShowAll.png"/>
|
|
<BitmapImage x:Key="ShowSolid_Image" UriSource="/Resources/ShowBeamPanel/ShowSolid.png"/>
|
|
<BitmapImage x:Key="ShowBuilding_Image" UriSource="/Resources/ShowBeamPanel/ShowBuilding.png"/>
|
|
<BitmapImage x:Key="RenderingWF_Image" UriSource="/Resources/ShowPanel/RenderingWF.png"/>
|
|
<BitmapImage x:Key="RenderingHL_Image" UriSource="/Resources/ShowPanel/RenderingHL.png"/>
|
|
<BitmapImage x:Key="RenderingSH_Image" UriSource="/Resources/ShowPanel/RenderingSH.png"/>
|
|
<BitmapImage x:Key="SplashScreen_Image" UriSource="/Resources/SplashScreen/SplashScreen.png"/>
|
|
<BitmapImage x:Key="CopyToClipboard_Image" UriSource="/Resources/Statistics/CopyToClipboard.png"/>
|
|
<BitmapImage x:Key="PrintPDF_Image" UriSource="/Resources/Statistics/PrintPDF.png"/>
|
|
<BitmapImage x:Key="PDFEditor_Image" UriSource="/Resources/PDFEditor/PrintPDF.png"/>
|
|
<BitmapImage x:Key="MoveUpPDF_Image" UriSource="/Resources/PDFEditor/MoveUp.png"/>
|
|
<BitmapImage x:Key="MoveDownPDF_Image" UriSource="/Resources/PDFEditor/MoveDown.png"/>
|
|
<BitmapImage x:Key="PDFPreview_Image" UriSource="/Resources/PDFEditor/PDFPreview.png"/>
|
|
<BitmapImage x:Key="MoveRight_Image" UriSource="/Resources/NewPage/MoveRight.png"/>
|
|
<BitmapImage x:Key="MoveLeft_Image" UriSource="/Resources/NewPage/MoveLeft.png"/>
|
|
<BitmapImage x:Key="ZoomAll_Image" UriSource="/Resources/ViewPanel/ZoomAll+.png"/>
|
|
<BitmapImage x:Key="LookFromTOP_Image" UriSource="/Resources/ViewPanel/LookFromTOP.png"/>
|
|
<BitmapImage x:Key="LookFromFRONT_Image" UriSource="/Resources/ViewPanel/LookFromFRONT.png"/>
|
|
<BitmapImage x:Key="LookFromRIGHT_Image" UriSource="/Resources/ViewPanel/LookFromRIGHT.png"/>
|
|
<BitmapImage x:Key="LookFromBACK_Image" UriSource="/Resources/ViewPanel/LookFromBACK.png"/>
|
|
<BitmapImage x:Key="LookFromLEFT_Image" UriSource="/Resources/ViewPanel/LookFromLEFT.png"/>
|
|
<BitmapImage x:Key="LookFromISO_SW_Image" UriSource="/Resources/ViewPanel/LookFromISO_SW.png"/>
|
|
<BitmapImage x:Key="Restore_Image" UriSource="/Resources/EgtDialog/Restore.png"/>
|
|
<BitmapImage x:Key="AboutBox_Image" UriSource="/Resources/AboutBox/EgalwareLogo.png"/>
|
|
<BitmapImage x:Key="Clock_Image" UriSource="/Resources/NewPage/clock.png"/>
|
|
|
|
<!--#endregion Image-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TextBlock-->
|
|
|
|
<!--#region ForegroundWhite-->
|
|
|
|
<Style x:Key="List_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundWhite_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="10,0,10,0"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Category_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundWhite_TextBlock}">
|
|
<Setter Property="FontSize" Value="16"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StatisticTimePanel_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundWhite_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SplashScreenV_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundWhite_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
<Setter Property="Margin" Value="71,402,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundWhite_TextBlock}">
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RightPanel_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundWhite_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
</Style>
|
|
|
|
<!--#endregion ForegroundWhite-->
|
|
|
|
<!--#region PartManager-->
|
|
|
|
<Style x:Key="PartManager_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
|
</Style>
|
|
|
|
<Style x:Key="W_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource PartManager_TextBlock}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion PartManager-->
|
|
|
|
<!--#region ForegroundCorduroy-->
|
|
|
|
<Style x:Key="PartParam_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="10,0,10,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CNT_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Macro_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MacroDefault_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="2.5"/>
|
|
<Setter Property="Width" Value="239"/>
|
|
<Setter Property="TextAlignment" Value="Justify"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureManager_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
|
<Setter Property="Margin" Value="5,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CALC_ERR_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Margin" Value="-1,-6,1,-3"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PasswordMsg_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<!--#region FeatureInPartInRawPartList-->
|
|
|
|
<Style x:Key="FeatureInPartInRawPartList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Margin" Value="-2,-6,0,-2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CALC_ERR_Letter_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="Margin" Value="0,-4,0.5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion FeatureInPartInRawPartList-->
|
|
|
|
<Style x:Key="MoveDir_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NestingRunningWndV_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="WarehouseWndV_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="70"/>
|
|
<Setter Property="Margin" Value="15,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Msg_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="40,0,40,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ForcedStrategyBTL_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Status_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="0,0,10,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SelBTLPart_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CALC_ERRRawPartList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Margin" Value="0,-6,0,-2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CurrentMachine_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
<Setter Property="Margin" Value="10,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SelMachine_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
<Setter Property="Margin" Value="10,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MultiCopyRawPartWnd_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Message_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SetUp_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="Margin" Value="0,-2,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Statistics_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="Margin" Value="10,5,5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PDF_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="Margin" Value="5,2,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="UpdateBTL_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="Width" Value="400"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ForegroundCorduroy-->
|
|
|
|
<!--#region Option-->
|
|
|
|
<Style x:Key="Feature_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource Option_TextBlock}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DescBTLFeature_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource Option_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<!--#endregion Option-->
|
|
|
|
<!--#region DialogWindow-->
|
|
|
|
<Style x:Key="Pointer_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ParamStrategy_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="TextWrapping" Value="WrapWithOverflow"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyManager_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyName_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
|
|
<Style x:Key="TreeItemName_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Margin" Value="0,10,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion DialogWindow-->
|
|
|
|
<!--#region ProjectParameters-->
|
|
|
|
<Style x:Key="ProjectParameters_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ParamStrategy_TextBlock}">
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ListProjectParameters_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ProjectParameters_TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ParamStrategyDescription_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ProjectParameters_TextBlock}">
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProjectParameters-->
|
|
|
|
<!--#region ParamStrategy-->
|
|
|
|
<Style x:Key="UserAdmin_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ParamStrategy_TextBlock}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.UserAdmin.Foreground}"/>
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion ParamStrategy-->
|
|
|
|
<!--#region StrategyModify-->
|
|
|
|
<Style x:Key="StrategyModify_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.StrategyModify.Foreground}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
<Setter Property="FontSize" Value="11"/>
|
|
<Setter Property="Margin" Value="-2,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="bStrategy_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource StrategyModify_TextBlock}">
|
|
<Setter Property="FontSize" Value="8"/>
|
|
<Setter Property="Margin" Value="-20,0,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion StrategyModify-->
|
|
|
|
<!--#region CALC_ROT-->
|
|
|
|
<Style x:Key="CALC_ROT_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.CALC_ROT.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Margin" Value="1,-4,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CALC_ROTRawPartList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CALC_ROT_TextBlock}">
|
|
<Setter Property="Margin" Value="-6,-4,0,0"/>
|
|
</Style>
|
|
|
|
<!--#region CALC_ROTFeature-->
|
|
|
|
<Style x:Key="CALC_ROTFeature_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CALC_ROT_TextBlock}">
|
|
<Setter Property="FontSize" Value="10.5"/>
|
|
<Setter Property="Margin" Value="-12,-2,1,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CALC_ROTFeatureRawPartList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CALC_ROTFeature_TextBlock}">
|
|
<Setter Property="Margin" Value="-5,-2,1,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion CALC_ROTFeature-->
|
|
|
|
<!--#endregion CALC_ROT-->
|
|
|
|
<Style x:Key="Prod_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type DataGridCell}}, Path=IsSelected}" Value="True">
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.Prod.Foreground}"/>
|
|
<Setter Property="Background" Value="{DynamicResource TextBlock.Prod.Background}"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="Name_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
|
<Setter Property="FontSize" Value="11"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type DataGridCell}}, Path=IsSelected}" Value="True">
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.Prod.Foreground}"/>
|
|
<Setter Property="Background" Value="{DynamicResource TextBlock.Prod.Background}"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="RawPartList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.RawPartList.Foreground}"/>
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
<Setter Property="Margin" Value="0,-6,0,-2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ErrorMsg_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.Error.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Margin" Value="0,0,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Rotate_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="2,0,2,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ROT_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="2,3,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PRCList_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextAlignment" Value="Justify"/>
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
<Setter Property="Margin" Value="10,5,10,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ErrConfig_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_Red}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextAlignment" Value="Justify"/>
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion TextBlock-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TextBox-->
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="FreeContour_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource Optimizer_TextBox}">
|
|
<Setter Property="HorizontalContentAlignment" Value="Right"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="22"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Strategy_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource Optimizer_TextBox}">
|
|
<Setter Property="HorizontalContentAlignment" Value="Left"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optmizer-->
|
|
|
|
<!--#region EgtOptimizer-->
|
|
|
|
<!--#region Dimension_TextBox-->
|
|
|
|
<Style x:Key="Dimension_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="55"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtPartManager_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource Dimension_TextBox}">
|
|
<Setter Property="ExplicitUpdateSource" Value="EnterKeyPress"/>
|
|
</Style>
|
|
|
|
<!--#endregion Dimension_TextBox-->
|
|
|
|
<Style x:Key="Qty_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="40"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SearchText_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="0,2,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NAM_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="200"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Value_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="65"/>
|
|
</Style>
|
|
|
|
<Style x:Key="WarehouseWndV_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="70"/>
|
|
<Setter Property="Margin" Value="15,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="New_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Warehouse_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParam_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="150"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LeftPanel_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="TextAlignment" Value="Justify"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="Margin" Value="0,6,4,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Name_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="60"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureName_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Width" Value="200"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MultiCopyRawPartWnd_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource EgtOptmizer_TextBox}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtOptimizer-->
|
|
|
|
<Style x:Key="SaveAsStrategy_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource Strategy_TextBox}">
|
|
<Setter Property="IsReadOnly" Value="False"/>
|
|
</Style>
|
|
|
|
<!--#endregion TextBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Button-->
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="ProdManager_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="FontWeight" Value="Light"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
</Style>
|
|
|
|
<!--#region ProdManager-->
|
|
|
|
<Style x:Key="ProdManagerNew_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="35"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PrManagerNew_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManagerNew_Button}">
|
|
<Setter Property="Background" Value="{DynamicResource Button.PrManagerNew.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLProd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource PrManagerNew_Button}">
|
|
<Setter Property="Width" Value="50"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Show_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource PrManagerNew_Button}">
|
|
<Setter Property="Width" Value="15"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProdManager-->
|
|
|
|
<Style x:Key="NestingRunningWndV_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="70"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OKAddParam_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Margin" Value="0,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CancelAddParam_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Margin" Value="2.5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="WWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="WAutoWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Margin" Value="20,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RawPart_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="18"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EditFeature_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="15"/>
|
|
<Setter Property="Width" Value="15"/>
|
|
<Setter Property="Margin" Value="25,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PDFPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="120"/>
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Margin" Value="5,0,5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Close_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Margin" Value="2.5,-2,2.5,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Strategy_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SaveStrategy_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="40"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
<Setter Property="Margin" Value="2,-2,2,-2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddRawPartWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="80"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLDataWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="40"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OKBTLDataWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource BTLDataWnd_Button}">
|
|
<Setter Property="Margin" Value="0,0,5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GeneralParametersWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="40"/>
|
|
<Setter Property="Margin" Value="5,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="23.5"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureInPartInRawPartList_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="15"/>
|
|
<Setter Property="Width" Value="15"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Rotation_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="18"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
<Setter Property="Margin" Value="-5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Verify_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NameBTL_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optimizer-->
|
|
|
|
<!--#region ProdManager-->
|
|
|
|
<Style x:Key="CalcPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="FontSize" Value="10"/>
|
|
<Setter Property="Margin" Value="5,2,5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Warehouse_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="5,2,5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Optimize_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Margin" Value="5,2,5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="WarehouseWndV_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="FontSize" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LP_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DropDownButton_BarButtonItem" TargetType="{x:Type dxb:BarButtonItem}">
|
|
<Setter Property="Background" Value="{StaticResource ButtonBasic.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource ButtonBasic.Static.Border}"/>
|
|
<Setter Property="BorderThickness" Value="0.5"/>
|
|
<Setter Property="CornerRadius" Value="3"/>
|
|
<Setter Property="GlyphSize" Value="Medium"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MacroFeaturen_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="2.5,2.5,10,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureMan_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="2.5,2.5,10,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="InstrumentPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Margin" Value="5,2,5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Parameter_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RawPartManager_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="5,1,0,1"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Statistics_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="0,5,10,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CopyToClipboard_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Margin" Value="0,10,10,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CancelWarehouse_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManager_Button}">
|
|
<Setter Property="Width" Value="60"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProdManager-->
|
|
|
|
<!--#region ProdManagerNew-->
|
|
|
|
<Style x:Key="ProdManagerPopUp_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProdManagerNew_Button}">
|
|
<Setter Property="Margin" Value="0,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProdManagerNew-->
|
|
|
|
<!--#region MainMenu-->
|
|
|
|
<Style x:Key="SendFeedback_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource MainMenu_Button}">
|
|
<Setter Property="Width" Value="40"/>
|
|
</Style>
|
|
|
|
<!--#endregion MainMenu-->
|
|
|
|
<!--#region SaveStrategy-->
|
|
|
|
<Style x:Key="SaveAs_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource SaveStrategy_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion SaveStrategy-->
|
|
|
|
<!--#region ToolBar-->
|
|
|
|
<Style x:Key="PartParametersWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ToolBar_Button}">
|
|
<Setter Property="Width" Value="100"/>
|
|
</Style>
|
|
|
|
<!--#endregion ToolBar-->
|
|
|
|
<!--#region Rotation-->
|
|
|
|
<Style x:Key="Move_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Rotation_Button}">
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Rotation-->
|
|
|
|
<!--#region ToolBarViewPanel-->
|
|
|
|
<Style x:Key="Optmizer_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ToolBarViewPanel_Button}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Back_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ToolBarViewPanel_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ToolBarViewPanel-->
|
|
|
|
<!--#region ParameterMachine-->
|
|
|
|
<Style x:Key="ProjectParameters_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ParameterMachine_Button}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ParameterMachine-->
|
|
|
|
<!--#region ProjectParameters-->
|
|
|
|
<Style x:Key="CloseProjectParameters_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource ProjectParameters_Button}">
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProjectParameters-->
|
|
|
|
<!--#region SaveOptionPanel-->
|
|
|
|
<Style x:Key="ConfigurationParameters_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource SaveOptionPanel_Button}">
|
|
<Setter Property="Margin" Value="10,0,10,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion SaveOptionPanel-->
|
|
|
|
<Style x:Key="PartParameters_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
</Style>
|
|
|
|
<!--#endregion Button-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ToggleButton-->
|
|
|
|
<!--#region ToolBar-->
|
|
|
|
<Style x:Key="Statistics_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource ToolBar_ToggleButton}">
|
|
<Setter Property="Margin" Value="0,10,10,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ToolBar-->
|
|
|
|
<!--#region MainMenu-->
|
|
|
|
<Style x:Key="StrategyManager_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MainMenu_ToggleButton}">
|
|
<Setter Property="Width" Value="140"/>
|
|
<Setter Property="Margin" Value="0,0,50,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachineParam_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MainMenu_ToggleButton}">
|
|
<Setter Property="Width" Value="150"/>
|
|
<Setter Property="Margin" Value="5,0,10,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ConfigProgram_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MainMenu_ToggleButton}">
|
|
<Setter Property="Background" Value="{DynamicResource ToggleButton.Static.Background}"/>
|
|
<Setter Property="Width" Value="40"/>
|
|
</Style>
|
|
|
|
<!--#endregion MainMenu-->
|
|
|
|
<Style x:Key="UpdateOrAppendWnd_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="70"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Parameter_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Width" Value="60"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Grid>
|
|
<!-- Background -->
|
|
<Border x:Name="BackgroundBorder"
|
|
CornerRadius="10"
|
|
Background="{DynamicResource Border.Parameter.Background}"
|
|
BorderBrush="{DynamicResource Border.Parameter.Border}"
|
|
BorderThickness="1"/>
|
|
<!-- Slider Circle -->
|
|
<Ellipse x:Name="Slider"
|
|
Width="12" Height="12"
|
|
Fill="{DynamicResource Ellipse.Parameter.Fill}"
|
|
Margin="3"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter TargetName="Slider" Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter TargetName="Slider" Property="Fill" Value="{DynamicResource Ellipse.ParameterIsChecked.Fill}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="Unlock_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
<Setter Property="Margin" Value="0,0,10,0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="border" CornerRadius="3"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Background="{TemplateBinding Background}"
|
|
SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter"
|
|
Focusable="False"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
Margin="{TemplateBinding Padding}"
|
|
RecognizesAccessKey="True"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="Button.IsDefaulted" Value="true">
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.MouseOver.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button.Pressed.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource ButtonBasic.Static.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.Disabled.Border}"/>
|
|
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource Button.Disabled.Foreground}"/>
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtCAM5_SetUpToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="{DynamicResource Button.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Button.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="border"
|
|
CornerRadius="3"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Background="{TemplateBinding Background}"
|
|
SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter"
|
|
Focusable="False"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
Margin="{TemplateBinding Padding}"
|
|
RecognizesAccessKey="True"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="Button.IsDefaulted" Value="true">
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.MouseOver.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button.Pressed.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{Binding ExitBtnBackgroundCol}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button.Disabled.Border}"/>
|
|
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource Button.Disabled.Foreground}"/>
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion ToggleButton-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ListBox-->
|
|
|
|
<Style x:Key="NewAddFeature_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.NewAddFeature.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Height" Value="585"/>
|
|
<Setter Property="Width" Value="260"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{DynamicResource Border.NewAddFeature.Border}"
|
|
BorderThickness="1">
|
|
<ContentPresenter />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.NewAddFeatureIsSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.NewAddFeatureIsSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="False">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.NewAddFeatureNotSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.NewAddFeatureNotSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="AvailableStrategy_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource NewAddFeature_ListBox}">
|
|
<Setter Property="IsSynchronizedWithCurrentItem" Value="False"/>
|
|
<Setter Property="Width" Value="Auto"/>
|
|
<Setter Property="Height" Value="Auto"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MacroCustom_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.MacroCustom.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
|
|
<Setter Property="Height" Value="610"/>
|
|
<Setter Property="Width" Value="980"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MacroDefault_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.MacroDefault.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Height" Value="585"/>
|
|
<Setter Property="Width" Value="250"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="AlternationCount" Value="2"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureManager_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.FeatureManager.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="82"/>
|
|
<Setter Property="Width" Value="80"/>
|
|
<Setter Property="AlternationCount" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LeftPanel_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.LeftPanel.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="150"/>
|
|
<Setter Property="Width" Value="130"/>
|
|
<Setter Property="AlternationCount" Value="2"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="AlternationIndex_ListBoxItem" TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
<Border Name="_itemContainer"
|
|
Padding="0"
|
|
BorderBrush="{DynamicResource Border.AlternationIndex.Border}"
|
|
BorderThickness="1"
|
|
SnapsToDevicePixels="True">
|
|
<ContentPresenter />
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="ItemsControl.AlternationIndex" Value="0">
|
|
<Setter Property="TextBlock.Foreground" Value="{DynamicResource TextBlock.AlternationIndex_0.Foreground}"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Setter Property="TextBlock.FontSize" Value="13"/>
|
|
</Trigger>
|
|
<Trigger Property="ItemsControl.AlternationIndex" Value="1">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_LinkWater}" />
|
|
<Setter TargetName="_itemContainer" Property="BorderBrush" Value="{DynamicResource Border.ItemContainer.Border}" />
|
|
<Setter TargetName="_itemContainer" Property="Background" Value="{DynamicResource Border.ItemContainer.Background}" />
|
|
<Setter Property="TextBlock.Foreground" Value="{DynamicResource TextBlock.AlternationIndex_1.Foreground}"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Setter Property="TextBlock.FontSize" Value="13"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter TargetName="_itemContainer" Property="BorderBrush" Value="{DynamicResource Border.ItemContainerIsSelected.Border}" />
|
|
<Setter TargetName="_itemContainer" Property="Background" Value="{DynamicResource Border.ItemContainerIsSelected.Background}" />
|
|
<Setter Property="TextBlock.Foreground" Value="{DynamicResource TextBlock.AlternationIndexIsSelected.Foreground}"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="TextBlock.FontSize" Value="14"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="WarehouseWndV_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="MinHeight" Value="40"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Strategy_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.Strategy.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Margin" Value="10"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{DynamicResource Border.Strategy.Border}"
|
|
BorderThickness="1">
|
|
<ContentPresenter />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.StrategyIsSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.StrategyIsSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="False">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.StrategyNoSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.StrategyNoSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="BTL_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="SelectionMode" Value="Single"/>
|
|
<Setter Property="IsSynchronizedWithCurrentItem" Value="True"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{DynamicResource Border.BTL.Border}"
|
|
BorderThickness="1">
|
|
<ContentPresenter />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.BTLIsSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.BTLIsSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="False">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.BTLNoSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.BTLNoSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="ListBox_PDF" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Padding" Value="0"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Top"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ForcedStrategyBTL_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.ForcedStrategyBTL.Background}"/>
|
|
<Setter Property="IsSynchronizedWithCurrentItem" Value="True"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Height" Value="585"/>
|
|
<Setter Property="Width" Value="260"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{DynamicResource Border.ForcedStrategyBTL.Border}"
|
|
BorderThickness="1">
|
|
<ContentPresenter />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.ForcedStrategyBTLIsSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.ForcedStrategyBTLIsSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="False">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.ForcedStrategyBTLNoSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.ForcedStrategyBTLNoSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="SelectionMode" Value="Single"/>
|
|
<Setter Property="IsSynchronizedWithCurrentItem" Value="True"/>
|
|
<Setter Property="Grid.IsSharedSizeScope" Value="True"/>
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{DynamicResource Border.BTLPart.Border}"
|
|
BorderThickness="1">
|
|
<ContentPresenter />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.BTLPartIsSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.BTLPartIsSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="False">
|
|
<Setter Property="Background" Value="{DynamicResource ListBox.BTLPartNoSelected.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ListBox.BTLPartNoSelected.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<!--#endregion ListBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ComboBox-->
|
|
|
|
<!--#region Optmizer-->
|
|
|
|
<Style x:Key="ProdType_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="160"/>
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProdPath_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLDateTypeList_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="MinWidth" Value="55"/>
|
|
<Setter Property="Width" Value="105"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DayTypeList_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="105"/>
|
|
<Setter Property="Margin" Value="0,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OpenProjectFileDialog_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="MinWidth" Value="55"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Warehouse_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Strategy_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_Black}"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="160"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddRawPartWnd_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FreeContourInput_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optmizer-->
|
|
|
|
<!--#region Strategy-->
|
|
|
|
<Style x:Key="StrategySetup_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Strategy_ComboBox}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,0,0,15"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLDataWnd_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Strategy_ComboBox}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,10,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyManager_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Strategy_ComboBox}">
|
|
<Setter Property="Margin" Value="0,0,10,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Strategy-->
|
|
|
|
<!--#region CalcPanel-->
|
|
|
|
<Style x:Key="ProjectParameters_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource CalcPanel_ComboBox}">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_Black}"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion CalcPanel-->
|
|
|
|
<Style x:Key="Feature_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="MinWidth" Value="55"/>
|
|
<Setter Property="Margin" Value="5,-2,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParam_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="150"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjMaterial_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="MinWidth" Value="55"/>
|
|
<Setter Property="Width" Value="150"/>
|
|
<Setter Property="Margin" Value="5,-2,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PRCList_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="MinWidth" Value="55"/>
|
|
<Setter Property="Margin" Value="5,-2,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParameters_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="150"/>
|
|
<Setter Property="Margin" Value="0,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ComboBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region CheckBox-->
|
|
|
|
<!--#region PParameters-->
|
|
|
|
<Style x:Key="FreeContourInput_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource PParameters_CheckBox}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion PParameters-->
|
|
|
|
<!--#region Alias-->
|
|
|
|
<Style x:Key="FeatureInPartInRawPartList_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource Alias_CheckBox}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLDataWnd_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource Alias_CheckBox}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="10,10,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource Alias_CheckBox}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParameters_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource Alias_CheckBox}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Project_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource Alias_CheckBox}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Alias-->
|
|
|
|
<Style x:Key="Option_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="10,5,10,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DefaultMacro_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="Margin" Value="0,6,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion CheckBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ItemsControl-->
|
|
|
|
<!--#region ExpanderElementList-->
|
|
|
|
<Style x:Key="ExpanderElementList_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
<Setter Property="Padding" Value="0"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SceneBuilding_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource ExpanderElementList_ItemsControl}">
|
|
<Setter Property="Margin" Value="0,5,5,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ExpanderElementList-->
|
|
|
|
<!--#region UsersControl-->
|
|
|
|
<Style x:Key="ParameterStrategy_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource UsersControl_ItemsControl}">
|
|
<Setter Property="Margin" Value="5,10,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectParameters_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource UsersControl_ItemsControl}">
|
|
<Setter Property="Width" Value="180"/>
|
|
<Setter Property="Height" Value="95"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AvailableToolList_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource UsersControl_ItemsControl}">
|
|
<Setter Property="Width" Value="180"/>
|
|
<Setter Property="Height" Value="200"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion UsersControl-->
|
|
|
|
<Style x:Key="ExpanderList_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
<Setter Property="Padding" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SetUp_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="Margin" Value="0,0,20,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ExitTool_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<Style x:Key="HorizontalScrollViewer_ItemsControl" TargetType="{x:Type ItemsControl}">
|
|
<Setter Property="ItemsPanel">
|
|
<Setter.Value>
|
|
<ItemsPanelTemplate>
|
|
<WrapPanel Orientation="Vertical"/>
|
|
</ItemsPanelTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ItemsControl}">
|
|
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled">
|
|
<ItemsPresenter/>
|
|
</ScrollViewer>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion ItemsControl-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region UserControl-->
|
|
|
|
<Style x:Key="FreeContourInput_UserControl" TargetType="{x:Type UserControl}">
|
|
<Setter Property="Height" Value="32"/>
|
|
</Style>
|
|
|
|
<!--#endregion UserControl-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TabItem-->
|
|
|
|
<Style x:Key="Feature_TabItem" TargetType="{x:Type TabItem}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource TabItem.Static.Foreground}"/>
|
|
<Setter Property="Background" Value="{DynamicResource TabItem.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource TabItem.Static.Border}"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
<Setter Property="Padding" Value="6,2,6,2"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Stretch"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TabItem}">
|
|
<Grid x:Name="templateRoot" SnapsToDevicePixels="true">
|
|
<Border x:Name="mainBorder"
|
|
Visibility="Collapsed"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="1,1,1,0"
|
|
Margin="2,0"
|
|
CornerRadius="4,4,0,0">
|
|
<Border x:Name="innerBorder"
|
|
Background="{DynamicResource TabItem.Selected.Background}"
|
|
BorderBrush="{DynamicResource TabItem.Selected.Border}"
|
|
BorderThickness="1,1,1,0"
|
|
Margin="-1" Opacity="0"
|
|
CornerRadius="4,4,0,0"/>
|
|
</Border>
|
|
<ContentPresenter x:Name="contentPresenter"
|
|
Visibility="Collapsed"
|
|
ContentSource="Header"
|
|
Focusable="False"
|
|
HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
|
|
Margin="{TemplateBinding Padding}"
|
|
RecognizesAccessKey="True"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
|
VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="-2,-2,0,-2"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="-2,0,-2,-2"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="0,-2,-2,-2"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="-2,-2,-2,0"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion TabItem-->
|
|
|
|
<!--#region TabControl-->
|
|
|
|
<!--#region Optmizer-->
|
|
|
|
<Style x:Key="Optimizer_TabControl" TargetType="{x:Type TabControl}">
|
|
<Setter Property="Background" Value="{DynamicResource TabControl.Optimizer.Background}"/>
|
|
<Setter Property="TabStripPlacement" Value="Top"/>
|
|
<Setter Property="Margin" Value="5,5,2.5,5"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource Optimizer_TabItem}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="SelTab_TabControl" TargetType="{x:Type TabControl}" BasedOn="{StaticResource Optimizer_TabControl}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optmizer-->
|
|
|
|
<Style x:Key="Project_TabControl" TargetType="{x:Type TabControl}" BasedOn="{StaticResource {x:Type TabControl}}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Margin" Value="0,-3.8,0,-2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Feature_TabControl" TargetType="{x:Type TabControl}" BasedOn="{StaticResource {x:Type TabControl}}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Margin" Value="0,-4,0,-2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MainWindow_TabControl" TargetType="{x:Type TabControl}" BasedOn="{StaticResource {x:Type TabControl}}">
|
|
<Setter Property="Padding" Value="0"/>
|
|
<Setter Property="Margin" Value="0,-4,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion TabControl-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region StackPanel-->
|
|
|
|
<!--#region BTLPartManager-->
|
|
|
|
<Style x:Key="FeatureListManager_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PDF_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Button_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="2.5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Message_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="Width" Value="250"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CopyToClipBoard_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="Background" Value="{StaticResource BeamWall_White}"/>
|
|
<Setter Property="Margin" Value="0,10,10,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectParameters_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="0,7,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Strategy_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FreeContourManager_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="2,5,2,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion BTLPartManager-->
|
|
|
|
<!--#region PartManager-->
|
|
|
|
<Style x:Key="PDFEditor_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="0,-0.5,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RawPartManager_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="0,1,5,1"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FreeContourInput_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding FocusTextBox}" Value="True">
|
|
<Setter Property="FocusManager.FocusedElement" Value="{Binding ElementName=PropertySearch}"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="GeneralParametersStrategy_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="0,2,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PParameters_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartManagers_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="10,5,10,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartManagerL_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="10,5,15,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLTotParts_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Background" Value="{DynamicResource StackPanel.BTLTotParts.Background}"/>
|
|
<Setter Property="Margin" Value="10,10,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLTotTime_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Background" Value="{DynamicResource StackPanel.BTLTotTime.Background}"/>
|
|
<Setter Property="Margin" Value="10,-1,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLRemainingTime_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Background" Value="{DynamicResource StackPanel.BTLRemainingTime.Background}"/>
|
|
<Setter Property="Margin" Value="10,-1,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyManager_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,5,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProdManager_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="5,2,2,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Open_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="10,2,2,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StatisticsTimePanel_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#endregion PartManager-->
|
|
|
|
<!--#region OptStatistics-->
|
|
|
|
<Style x:Key="RawPart_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource OptStatistics_StackPanel}">
|
|
<Setter Property="Background" Value="{DynamicResource StackPanel.RawPart.Background}"/>
|
|
<Setter Property="Orientation" Value="Vertical"/>
|
|
<Setter Property="Margin" Value="-10,10,10,10"/>
|
|
</Style>
|
|
|
|
<!--#endregion OptStatistics-->
|
|
|
|
<!--#region List-->
|
|
|
|
<Style x:Key="ExpanderElemen_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource List_StackPanel}">
|
|
<Setter Property="Orientation" Value="Horizontal"/>
|
|
</Style>
|
|
|
|
<!--#endregion List-->
|
|
|
|
<Style x:Key="AddSectionXMaterialWnd_StackPanel" TargetType="{x:Type StackPanel}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Statistics_StackPanel" TargetType="{x:Type StackPanel}">
|
|
<Setter Property="Background" Value="{DynamicResource StackPanel.Statistics.Background}"/>
|
|
<Setter Property="Margin" Value="10"/>
|
|
</Style>
|
|
|
|
<!--#endregion StackPanel-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region WrapPanel-->
|
|
|
|
<!--#region Project-->
|
|
|
|
<Style x:Key="Bottom_WrapPanel" TargetType="{x:Type WrapPanel}" BasedOn="{StaticResource Project_WrapPanel}">
|
|
<Setter Property="Margin" Value="0,2,2,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Project-->
|
|
|
|
<!--#region ProjectH-->
|
|
|
|
<Style x:Key="MacroCustom_WrapPanel" TargetType="{x:Type WrapPanel}" BasedOn="{StaticResource ProjectH_WrapPanel}">
|
|
<Setter Property="IsItemsHost" Value="True"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProjectH-->
|
|
|
|
<!--#endregion WrapPanel-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Grid-->
|
|
|
|
<Style x:Key="PartManager_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="10,10,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddPart_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GlobalState_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="2,0,0,0"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectType_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="15"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddPartWnd_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BlockedWnd_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ChangeMaterialWnd_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureManager_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="30,4,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FreeContourInput_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GeneralParametersWnd_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,0,50,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureInPartInRawPartList_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParameters_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RawPartList_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,0,-4,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LeftPanel_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Background" Value="{StaticResource Optimizer.Background}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Verify_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="4,1,20,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachinePanel_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,10,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Project_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Left_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="2,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RawPartManagerWnd_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Background" Value="{StaticResource Grid.Static.Background}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SaveAsStrategy_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,0,5,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SetUp_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Height" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PositionGroup_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ExitTool_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,5,15,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ExitPar_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="10,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Statistics_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Background" Value="{DynamicResource Grid.Statistics.Background}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Strategy_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
|
|
<Style x:Key="UserAdmin_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Background" Value="{DynamicResource Grid.UserAdmin.Background}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectParamters_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,4,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddPartWndV_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Grid-->
|
|
|
|
<!--#region GridSplitter-->
|
|
|
|
<Style x:Key="Width_GridSplitter" TargetType="{x:Type GridSplitter}">
|
|
<Setter Property="Background" Value="{DynamicResource GridSplitter.Width.Background}"/>
|
|
<Setter Property="Width" Value="3"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Height_GridSplitter" TargetType="{x:Type GridSplitter}">
|
|
<Setter Property="Background" Value="{DynamicResource GridSplitter.Height.Background}"/>
|
|
<Setter Property="Height" Value="3"/>
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="HeightBottom_GridSplitter" TargetType="{x:Type GridSplitter}" BasedOn="{StaticResource Height_GridSplitter}">
|
|
<Setter Property="Height" Value="10"/>
|
|
</Style>
|
|
|
|
<!--#endregion GridSplitter-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region UniformGrid-->
|
|
|
|
<Style x:Key="AddFeatureWnd_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddPartWnd_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="0,5,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLDataWnd_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParameters_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="0,0,0,-45"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LeftPanel_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Background" Value="{DynamicResource UniformGrid.LeftPanel.Background}"/>
|
|
<Setter Property="Height" Value="200"/>
|
|
<Setter Property="Margin" Value="0,10,10,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Command_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PartParametersWnd_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="0,0,0,-45"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ParamStrategy_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="5,2,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectParameters_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="2,2,2,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion UniformGrid-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region GroupBox-->
|
|
|
|
<!--#region General-->
|
|
|
|
<Style x:Key="ForcedStrategyBTL_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource General_GroupBox}">
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Margin" Value="0,-5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectParameters_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource General_GroupBox}">
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Margin" Value="0,-11,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Item_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource General_GroupBox}">
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Margin" Value="0,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyProduction_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource General_GroupBox}">
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
</Style>
|
|
|
|
<!--#endregion General-->
|
|
|
|
<!--#region StrategyProduction-->
|
|
|
|
<Style x:Key="SelStrategyProduction_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource StrategyProduction_GroupBox}">
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Margin" Value="0,-10,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion StrategyProduction-->
|
|
|
|
<!--#region NoHeader-->
|
|
|
|
<Style x:Key="PartParam_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource NoHeader_GroupBox}">
|
|
<Setter Property="Margin" Value="0,55"/>
|
|
</Style>
|
|
|
|
<!--#endregion NoHeader-->
|
|
|
|
<Style x:Key="PDFPreview_GroupBox" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="Foreground" Value="{DynamicResource GroupBox.PDFPreview.Foreground}"/>
|
|
<Setter Property="Margin" Value="2.5"/>
|
|
<Setter Property="Width" Value="Auto"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachinePanel_GroupBox" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="Foreground" Value="{DynamicResource GroupBox.MachinePanel.Foreground}"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
|
|
<!--#endregion GroupBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Expander-->
|
|
|
|
<Style x:Key="PDF_Expander" TargetType="{x:Type Expander}" BasedOn="{StaticResource {x:Type Expander}}">
|
|
<Setter Property="IsExpanded" Value="True"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Top"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureManager_Expander" TargetType="{x:Type Expander}" BasedOn="{StaticResource {x:Type Expander}}">
|
|
<Setter Property="Width" Value="80"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_Expander" TargetType="{x:Type Expander}" BasedOn="{StaticResource {x:Type Expander}}">
|
|
<Setter Property="IsExpanded" Value="True"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LeftPanel_Expander" TargetType="{x:Type Expander}" BasedOn="{StaticResource {x:Type Expander}}">
|
|
<Setter Property="Margin" Value="-2,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Section_Expander" TargetType="{x:Type Expander}" BasedOn="{StaticResource {x:Type Expander}}">
|
|
<Setter Property="Width" Value="135"/>
|
|
<Setter Property="Margin" Value="0,4.5,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Expander-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ScrollViewer-->
|
|
|
|
<Style x:Key="PDF_ScrollViewer" TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource {x:Type ScrollViewer}}">
|
|
<Setter Property="CanContentScroll" Value="True"/>
|
|
<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,2.5"/>
|
|
<Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="PDFViewer_ScrollViewer" TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource {x:Type ScrollViewer}}">
|
|
<Setter Property="Background" Value="{DynamicResource ScrollViewer.Static.Background}"/>
|
|
<Setter Property="PanningMode" Value="Both"/>
|
|
</Style>
|
|
|
|
<!--#endregion ScrollViewer-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TreeView-->
|
|
|
|
<Style x:Key="StrategyManager_TreeView" TargetType="{x:Type TreeView}">
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion TreeView-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ToolTip-->
|
|
|
|
<Style x:Key="PParameters_ToolTip" TargetType="{x:Type ToolTip}">
|
|
<Setter Property="Background" Value="{DynamicResource ToolTip.PParameters.Background}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource ToolTip.PParameters.Foreground}"/>
|
|
</Style>
|
|
|
|
<!--#endregion ToolTip-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region PopUp-->
|
|
|
|
<Style x:Key="BTLPartList_PopUp" TargetType="{x:Type Popup}">
|
|
<Setter Property="AllowsTransparency" Value="True"/>
|
|
<Setter Property="PopupAnimation" Value="None"/>
|
|
<Setter Property="Placement" Value="Right"/>
|
|
<Setter Property="StaysOpen" Value="False"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Filter_PopUp" TargetType="{x:Type Popup}">
|
|
<Setter Property="AllowsTransparency" Value="True"/>
|
|
<Setter Property="PopupAnimation" Value="Scroll"/>
|
|
<Setter Property="StaysOpen" Value="False"/>
|
|
</Style>
|
|
|
|
<!--#endregion PopUp-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Border-->
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="ForcedStrategyBTL_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource Optimizer_Border}">
|
|
<Setter Property="Margin" Value="2,0,2,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Project_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource Optimizer_Border}">
|
|
<Setter Property="Margin" Value="10,5,10,5" />
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectParamters_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource Optimizer_Border}">
|
|
<Setter Property="Margin" Value="2,5,2,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyManager_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource Optimizer_Border}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Name_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource Optimizer_Border}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="2,2,2,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optimizer-->
|
|
|
|
<!--#region TotalTime_Border-->
|
|
|
|
<Style x:Key="TotalTime_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.TotalTime.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.TotalTime.Border}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Padding" Value="20,2,20,2"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="TotEstimatedTime_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource TotalTime_Border}">
|
|
<Setter Property="Margin" Value="5,0,10,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion TotalTime_Border-->
|
|
|
|
<Style x:Key="DoneTime_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.DoneTime.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.DoneTime.Border}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Padding" Value="20,2,20,2"/>
|
|
<Setter Property="Margin" Value="10,0,20,0"/>
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RemainingTime_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.RemainingTime.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.RemainingTime.Border}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Padding" Value="20,2,20,2"/>
|
|
<Setter Property="Margin" Value="2,0,0,0"/>
|
|
<Setter Property="CornerRadius" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectTypeWndV_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.ProjectType.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.ProjectType.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddFeatureWnd_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.AddFeature.Background}"/>
|
|
<Setter Property="CornerRadius" Value="4,0,0,4"/>
|
|
<Setter Property="Margin" Value="0,2,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PRCList_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.PRC.Border}"/>
|
|
<Setter Property="CornerRadius" Value="4,0,0,4"/>
|
|
<Setter Property="BorderThickness" Value="2,2,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Custom_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.Custom.Background}"/>
|
|
<Setter Property="BorderThickness" Value="0,2,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MacroCustomList_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.MacroCustom.Border}"/>
|
|
<Setter Property="CornerRadius" Value="0"/>
|
|
<Setter Property="BorderThickness" Value="0,2,0,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Default_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.Default.Background}"/>
|
|
<Setter Property="CornerRadius" Value="0,4,4,0"/>
|
|
<Setter Property="Margin" Value="0,2,0,2"/>
|
|
<Setter Property="Padding" Value="0,10,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MacroDefaultList_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.MacroDefault.Border}"/>
|
|
<Setter Property="CornerRadius" Value="0,4,4,0"/>
|
|
<Setter Property="BorderThickness" Value="0,2,2,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartManager_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.BTLPartManager.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.BTLPartManager.Border}"/>
|
|
<Setter Property="CornerRadius" Value="5"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SetUp_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.SetUp.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding ElementName=ExitBtn, Path=IsChecked}" Value="True">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<!--#region TopPanel_Border-->
|
|
|
|
<Style x:Key="TopPanel_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{DynamicResource Border.TopPanel.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Border.TopPanel.Border}"/>
|
|
<Setter Property="CornerRadius" Value="5"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StatisticTimePanel_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource TopPanel_Border}">
|
|
<Setter Property="Margin" Value="8,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StatisticsTimePanel_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource TopPanel_Border}">
|
|
<Setter Property="Margin" Value="50,0,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion TopPanel_Border-->
|
|
|
|
<!--#endregion Border-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Image-->
|
|
|
|
<Style x:Key="Macro_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Width" Value="300"/>
|
|
<Setter Property="Margin" Value="5,0,5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Archived_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Width" Value="15"/>
|
|
<Setter Property="Height" Value="15"/>
|
|
<Setter Property="Stretch" Value="UniformToFill"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ForcedStrategyBTL_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Height" Value="100"/>
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTLPartList_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Setter Property="RenderOptions.BitmapScalingMode" Value="NearestNeighbor"/>
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CurrDraw_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Width" Value="250"/>
|
|
<Setter Property="Margin" Value="2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ConfigProgram_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Margin" Value="0,-6,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Piece_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SetUp_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PositionGroup_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="MaxWidth" Value="300"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PDF_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyManager_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StrategyProduction_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Height" Value="100"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BTL_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Fill"/>
|
|
</Style>
|
|
|
|
<!--#endregion Image-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Ellipse-->
|
|
|
|
<!--#region FeatureInPartInRawPartList-->
|
|
|
|
<Style x:Key="CALC_ROT_Ellipse" TargetType="{x:Type Ellipse}" BasedOn="{StaticResource FeatureInPartInRawPartList_Ellipse}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="2,1,-2,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="UpdateBTL_Ellipse" TargetType="{x:Type Ellipse}" BasedOn="{StaticResource FeatureInPartInRawPartList_Ellipse}">
|
|
<Setter Property="Fill" Value="{DynamicResource Ellipse.UpdateBTL.Fill}"/>
|
|
</Style>
|
|
|
|
<!--#endregion FeatureInPartInRawPartList-->
|
|
|
|
<!--#endregion Ellipse-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Rectangle-->
|
|
|
|
<Style x:Key="ProjectType_Rectangle" TargetType="{x:Type Rectangle}">
|
|
<Setter Property="Height" Value="22"/>
|
|
</Style>
|
|
|
|
<!--#endregion Rectangle-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
</ResourceDictionary>
|