c034188c41
- TestDictionary rinominato DarkDictionary - corretta scelta lavorazione WJ alla fine della definizione del grezzo.
556 lines
33 KiB
XML
556 lines
33 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
|
|
xmlns:project="clr-namespace:OmagCUT"
|
|
xmlns:ControlExtensions="clr-namespace:OmagCUT.ControlExtensions"
|
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
|
|
xmlns:local="clr-namespace:OmagCUT.ArithmeticConverterNameSpace"
|
|
x:Class="OmagCUTDarkDictionary">
|
|
|
|
|
|
<!--Importo EgtDictionary--><!--
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="EgtDictionary.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>-->
|
|
|
|
<!--Importo EgtDictionary-->
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="OmagCUTDictionary.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<system:Double x:Key="Button_CornerRadius">9.5</system:Double>
|
|
<!--2.5mm-->
|
|
<!--<Thickness x:Key="BorderThickness">3.3</Thickness>-->
|
|
<Thickness x:Key="BorderThickness">0.5</Thickness>
|
|
<Thickness x:Key="MachLeftTextBoxInBorder_Margin">4,0,8,0</Thickness>
|
|
|
|
<SolidColorBrush x:Key="OmagCut_Gray" Color="#484D55" />
|
|
|
|
<BitmapImage x:Key="AlignPiecesImg" UriSource="Resources/NewIcons/ruota-oggetto-inclinato.png"></BitmapImage>
|
|
<BitmapImage x:Key="BarCodeImg" UriSource="Resources/NewIcons/BarCode.png"></BitmapImage>
|
|
<BitmapImage x:Key="BottomLeftImg" UriSource="Resources/NewIcons/1-BottomLeft.png"></BitmapImage>
|
|
<BitmapImage x:Key="BottomRightImg" UriSource="Resources/NewIcons/1-BottomRight.png"></BitmapImage>
|
|
<BitmapImage x:Key="ClockwiseRotateImg" UriSource="Resources/NewIcons/ruota-oggetto-dx.png"></BitmapImage>
|
|
<BitmapImage x:Key="CounterClockwiseRotateImg" UriSource="Resources/NewIcons/ruota-oggetto-sx.png"></BitmapImage>
|
|
<BitmapImage x:Key="CsvMinusImg" UriSource="Resources/NewIcons/CsvMinus.png"></BitmapImage>
|
|
<BitmapImage x:Key="CsvNewImg" UriSource="Resources/NewIcons/CsvNew.png"></BitmapImage>
|
|
<BitmapImage x:Key="CsvOpenImg" UriSource="Resources/NewIcons/CsvOpen.png"></BitmapImage>
|
|
<BitmapImage x:Key="CsvPlusImg" UriSource="Resources/NewIcons/CsvPlus.png"></BitmapImage>
|
|
<BitmapImage x:Key="CsvRuinedPartsImg" UriSource="Resources/NewIcons/CsvRuinedParts.png"></BitmapImage>
|
|
<BitmapImage x:Key="DownArrowImg" UriSource="Resources/NewIcons/DownArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="DrawImg" UriSource="Resources/NewIcons/icone-tagli-3.png"></BitmapImage>
|
|
<BitmapImage x:Key="FrameMachiningImg" UriSource="Resources/NewIcons/FrameMachining.png"></BitmapImage>
|
|
<BitmapImage x:Key="GenericViewImg" UriSource="Resources/NewIcons/GenericView.png"></BitmapImage>
|
|
<BitmapImage x:Key="HalfTurnRotateImg" UriSource="Resources/Negative/HalfTurnRotate.png"></BitmapImage>
|
|
<BitmapImage x:Key="ImportImg" UriSource="Resources/NewIcons/icone-tagli-6.png"></BitmapImage>
|
|
<BitmapImage x:Key="LeftArrowImg" UriSource="Resources/NewIcons/LeftArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="LookFromTOPImg" UriSource="Resources/NewIcons/ico-3D.png"></BitmapImage>
|
|
<BitmapImage x:Key="ManualImg" UriSource="Resources/NewIcons/Manual.png"></BitmapImage>
|
|
<BitmapImage x:Key="MeasureImg" UriSource="Resources/NewIcons/ico-righello.png"></BitmapImage>
|
|
<BitmapImage x:Key="MHTImg" UriSource="Resources/NewIcons/MHT.png"></BitmapImage>
|
|
<BitmapImage x:Key="NestImg" UriSource="Resources/NewIcons/Nest.png"></BitmapImage>
|
|
<BitmapImage x:Key="NumericKeyboardArrowImg" UriSource="Resources/NewIcons/NumericKeyboardArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="OptionsImg" UriSource="Resources/NewIcons/Options.png"></BitmapImage>
|
|
<BitmapImage x:Key="PanImg" UriSource="Resources/NewIcons/ico-mano.png"></BitmapImage>
|
|
<BitmapImage x:Key="PhotoImg" UriSource="Resources/NewIcons/icone-tagli-1.png"></BitmapImage>
|
|
<BitmapImage x:Key="RawPartImg" UriSource="Resources/NewIcons/icone-tagli-5.png"></BitmapImage>
|
|
<BitmapImage x:Key="RawProbeImg" UriSource="Resources/NewIcons/RawProbe.png"></BitmapImage>
|
|
<BitmapImage x:Key="RightArrowImg" UriSource="Resources/NewIcons/RightArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="SawProbeImg" UriSource="Resources/NewIcons/SawProbe.png"></BitmapImage>
|
|
<BitmapImage x:Key="SendImg" UriSource="Resources/NewIcons/Send.png"></BitmapImage>
|
|
<BitmapImage x:Key="SplitImg" UriSource="Resources/NewIcons/Split.png"></BitmapImage>
|
|
<!--<BitmapImage x:Key="SplitImg" UriSource="Resources/NewIcons/icone-tagli-2.png"></BitmapImage>-->
|
|
<BitmapImage x:Key="ToolChangerPosImg" UriSource="Resources/NewIcons/ToolChengerPos.png"></BitmapImage>
|
|
<BitmapImage x:Key="TopLeftImg" UriSource="Resources/NewIcons/4-TopLeft.png"></BitmapImage>
|
|
<BitmapImage x:Key="TopRightImg" UriSource="Resources/NewIcons/3-TopRight.png"></BitmapImage>
|
|
<BitmapImage x:Key="UpArrowImg" UriSource="Resources/NewIcons/UpArrow.png"></BitmapImage>
|
|
<BitmapImage x:Key="VImg" UriSource="Resources/NewIcons/V.png"></BitmapImage>
|
|
<BitmapImage x:Key="XImg" UriSource="Resources/NewIcons/X.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomAllImg" UriSource="Resources/NewIcons/ZoomAll.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomInImg" UriSource="Resources/NewIcons/Zoom+.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomOutImg" UriSource="Resources/NewIcons/Zoom-.png"></BitmapImage>
|
|
<BitmapImage x:Key="ZoomWinImg" UriSource="Resources/NewIcons/ZoomWIn.png"></BitmapImage>
|
|
<BitmapImage x:Key="LogoOmagImg" UriSource="Resources/NewIcons/logo-OmCut.png"></BitmapImage>
|
|
|
|
<!--Nuove icone da sistemare-->
|
|
<BitmapImage x:Key="AvantiVeloceImg" UriSource="Resources/NewIcons/AvantiVeloce.png"></BitmapImage>
|
|
<BitmapImage x:Key="IndietroVeloceImg" UriSource="Resources/NewIcons/IndietroVeloce.png"></BitmapImage>
|
|
<BitmapImage x:Key="MaxMoveImg" UriSource="Resources/NewIcons/MaxMove.png"></BitmapImage>
|
|
<BitmapImage x:Key="PauseImg" UriSource="Resources/NewIcons/Pause.png"></BitmapImage>
|
|
<BitmapImage x:Key="PlayImg" UriSource="Resources/NewIcons/Play.png"></BitmapImage>
|
|
<BitmapImage x:Key="PlayStepImg" UriSource="Resources/NewIcons/PlayStep.png"></BitmapImage>
|
|
<BitmapImage x:Key="StopImg" UriSource="Resources/NewIcons/Stop.png"></BitmapImage>
|
|
<BitmapImage x:Key="VacuumImg" UriSource="Resources/NewIcons/Vacuum.png"></BitmapImage>
|
|
|
|
<FontFamily x:Key="OmagCut_Font">./Resources/Fonts/#Roboto</FontFamily>
|
|
|
|
<SolidColorBrush x:Key="OmagCut_TreeViewBackGroundColor" Color="#636974" />
|
|
<SolidColorBrush x:Key="OmagCut_TreeViewTextColor" Color="#FFFFFFFF" />
|
|
<SolidColorBrush x:Key="OmagCut_TreeViewDelimiterColor" Color="#FFFFFFFF" />
|
|
|
|
<Style TargetType="{x:Type ListBox}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Blue}"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
</Style>
|
|
|
|
<!--Button generico-->
|
|
<Style x:Key="OmagCut_Button2" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<!--<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
<Setter Property="ControlExtensions:ToggleButtonExtensions.CornerRadius" Value="{StaticResource Button_CornerRadius}"/>-->
|
|
<!--<Setter Property="BorderBrush" Value="Yellow" />-->
|
|
<!--<Setter Property="Background" Value="#4A4F55"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="#145994"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
</Trigger>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<Setter Property="Background" Value="#656975"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#3C3F48"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
</Style.Triggers>-->
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_TreeViewSelection" TargetType="{x:Type SolidColorBrush}">
|
|
<Setter Property="Color" Value="Yellow"/>
|
|
<Setter Property="Opacity" Value="0.4"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
|
|
<!--<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>-->
|
|
<Setter Property="Background" Value="#3C3F48"/>
|
|
<Setter Property="BorderBrush" Value="#3C3F48"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_EmptyBorder" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
<Setter Property="CornerRadius" Value="{DynamicResource EmptyBorder_CornerRadius}"/>
|
|
<Setter Property="Margin" Value="1" />
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_Page2Border" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_FixedTextBox" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_TextBox}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="IsReadOnly" Value="True"/>
|
|
<Setter Property="IsEnabled" Value="False"/>
|
|
<Setter Property="Template" Value="{StaticResource FixedTextBoxTemplate}" />
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
<Setter Property="project:ButtonExtensions.CornerRadius" Value="{DynamicResource Button_CornerRadius}"/>
|
|
<Setter Property="Margin" Value="{StaticResource Button_MarginThickness}"/>
|
|
<Setter Property="Padding" Value="5"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<!--<Setter Property="Background" Value="#FFB8C3CD"/>
|
|
<Setter Property="BorderBrush" Value="#FFB8C3CD"/>-->
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<!--<Setter Property="OpacityMask" Value="#33FF0000"/>-->
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
<Setter Property="BorderBrush" Value="#E1B957"/>
|
|
</Trigger>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_Button_Wrap" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="ContentTemplate" Value="{StaticResource Button_DataTemplate_Wrap}" />
|
|
<Setter Property="FontSize" Value="{DynamicResource FontSize_LowerCaseCharacter}" />
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
<Setter Property="ControlExtensions:ToggleButtonExtensions.CornerRadius" Value="{DynamicResource Button_CornerRadius}"/>
|
|
<Setter Property="Margin" Value="{StaticResource Button_MarginThickness}"/>
|
|
<Setter Property="Padding" Value="5"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="ToggleButton.Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="ToggleButton.BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="ToggleButton.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource OmagCut_Blue}" />
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
<Setter Property="BorderBrush" Value="#E1B957"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_ToggleButton_Wrap" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton}">
|
|
<Setter Property="ContentTemplate" Value="{StaticResource ToggleButton_DataTemplate_Wrap}" />
|
|
</Style>
|
|
|
|
|
|
<Style x:Key="OmagCut_TopGrayGradientYellowButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_BottomGrayGradientYellowButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_LeftGrayGradientYellowButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_RightGrayGradientYellowButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_RightGrayGradientYellowTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_YellowIconToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="#145993" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_CalculatorTextBox" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_TextBox}">
|
|
<Setter Property="Keyboard" Value="Calculator"/>
|
|
<Setter Property="KeyboardDimension" Value="300"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_MachToolCalculatorTextBox" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource MachToolLeftTextBoxNoBorder_Margin}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_YellowTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#2D3036"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_YellowToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton_Wrap}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#2D3036"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="FontSize" Value="{DynamicResource FontSize_LowerCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.Foreground" Value="{StaticResource OmagCut_Yellow}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_YellowGradientYellowTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#2D3036"/>
|
|
<!--<Setter Property="BorderBrush" Value="#636974"/>-->
|
|
<Setter Property="FontSize" Value="{DynamicResource FontSize_LowerCaseCharacter}"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_GradientBlueTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<!--<Setter Property="Background" Value= "#2D3036"/>-->
|
|
<Setter Property="Background" Value= "{StaticResource OmagCut_BottomGradientGray}"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_GradientBlueTextButtonPrjMgr" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value= "#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_BlueToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton_Wrap}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource OmagCut_Blue}" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_BlueIconToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource OmagCut_Blue}" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_BlueIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_RightGrayYellowIconToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<!--<Setter Property="BorderBrush" Value="#636974"/>-->
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.Foreground" Value="{StaticResource OmagCut_Yellow}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_CurrProjSummeryTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource OmagCut_LowerCaseCharacterTextBlock}">
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="TextWrapping" Value="NoWrap"/>
|
|
<Setter Property="Margin" Value="6,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_PageBorder" TargetType="{x:Type Border}" >
|
|
<Setter Property="CornerRadius" Value="{StaticResource Page_CornerRadius}"/>
|
|
<Setter Property="Background" Value="{StaticResource OmagCut_Gray}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_YellowGradientYellowIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<!--<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Yellow}"/>-->
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_GradientYellowIconToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton}">
|
|
<!--<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Yellow}"/>-->
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.Foreground" Value="{StaticResource OmagCut_Yellow}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_MachineCommandsYellowGradientYellowIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
<Setter Property="project:ButtonExtensions.CornerRadius" Value="{DynamicResource Button_CornerRadius}"/>
|
|
<Setter Property="Margin" Value="{StaticResource Button_MarginThickness}"/>
|
|
<Setter Property="Padding" Value="5"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="ToggleButton.Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="ToggleButton.BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="ToggleButton.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource OmagCut_Blue}" />
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
<Setter Property="BorderBrush" Value="#E1B957"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_ModifiedGradientYellowIconToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton}">
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.Foreground" Value="{StaticResource OmagCut_Yellow}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_YellowIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<!--<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Yellow}"/>-->
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_RightGrayYellowTextToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource OmagCut_ToggleButton_Wrap}">
|
|
<!--<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Yellow}"/>-->
|
|
<Setter Property="Background" Value="#1C1D22"/>
|
|
<Setter Property="BorderBrush" Value="#1C1D22"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource OmagCut_Blue}" />
|
|
<Setter Property="ToggleButton.Foreground" Value="{StaticResource OmagCut_Yellow}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_GradientBlueIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="BorderBrush" Value="#2D3036"/>
|
|
<!--<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Blue}"/>-->
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_CenteredLowerCaseCharacterTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource OmagCut_UpperCaseCharacterTextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_KeyboardTextBox" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_TextBox}">
|
|
<Setter Property="Keyboard" Value="Alphanumeric"/>
|
|
<Setter Property="KeyboardDimension" Value="600"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="Black"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_LowerCaseCharacterTextBlock" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
<Setter Property="FontSize" Value="{DynamicResource FontSize_LowerCaseCharacter}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<DataTemplate x:Key="GroupBoxHeaderTemplate">
|
|
<TextBlock Text="{Binding}" FontSize="{DynamicResource FontSize_GroupBoxHeader}" Foreground="White"/>
|
|
</DataTemplate>
|
|
|
|
<Style x:Key="OmagCut_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource {x:Type GroupBox}}">
|
|
<Setter Property="BorderBrush" Value="LightGray"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}" />
|
|
<Setter Property="HeaderTemplate" Value="{StaticResource GroupBoxHeaderTemplate}"/>
|
|
<Setter Property="ControlExtensions:GroupBoxExtensions.CornerRadius" Value="{DynamicResource GroupBox_CornerRadius}" />
|
|
<Setter Property="ControlExtensions:GroupBoxExtensions.FirstColumn" Value="{StaticResource GroupBox_FirstColumn}" />
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_ToolsDBTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource OmagCut_LowerCaseCharacterTextBlock}">
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_NoNameGroupBorder" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
|
|
<Setter Property="BorderBrush" Value="LightGray"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderThickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_LeftKeyboardTextBoxNoBorder" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_KeyboardTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource LeftTextBoxNoBorder_Margin}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_LeftCalculatorTextBoxNoBorder" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource LeftTextBoxNoBorder_Margin}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_RightCalculatorTextBoxInBorder" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource RightTextBoxInBorder_Margin}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_LeftCalculatorTextBoxInBorder" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource LeftTextBoxInBorder_Margin}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_CalculatorTextBoxInGroupBox" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Background" Value="#636974"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_MachLeftCalculatorTextBoxInBorder" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource MachLeftTextBoxInBorder_Margin}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_MachRightCalculatorTextBoxInBorder" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_CalculatorTextBox}">
|
|
<Setter Property="Margin" Value="{DynamicResource MachRightTextBoxInBorder_Margin}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_WindowGrayTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
|
|
<Setter Property="Background" Value="LightGray"/>
|
|
<!--<Setter Property="BorderBrush" Value="LightGray"/>-->
|
|
<Setter Property="BorderBrush" Value="{StaticResource OmagCut_DarkGray}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OmagCut_WindowBorder" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
|
|
<Setter Property="CornerRadius" Value="{StaticResource Page_CornerRadius}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource OmagCut_DarkGray}"/>
|
|
<Setter Property="Background" Value="LightGray"/>
|
|
</Style>
|
|
|
|
</ResourceDictionary>
|