<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="SlabIdImg" UriSource="Resources/NewIcons/SlabId.png"></BitmapImage>
    <BitmapImage x:Key="BottomLeftImg" UriSource="Resources/NewIcons/1-BottomLeft.png"></BitmapImage>
    <BitmapImage x:Key="BottomRightImg" UriSource="Resources/NewIcons/2-BottomRight.png"></BitmapImage>
    <BitmapImage x:Key="PartRotOnImg" UriSource="Resources/NewIcons/PartRotOn.png"></BitmapImage>
    <BitmapImage x:Key="PartRotOffImg" UriSource="Resources/NewIcons/PartRotOff.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="GenerateCNImg" UriSource="Resources/NewIcons/GenerateCN.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>

    <!--General-->
    <BitmapImage x:Key="EseguiImg" UriSource="Resources/NewIcons/Esegui.png"></BitmapImage>
    <BitmapImage x:Key="SimulaImg" UriSource="Resources/NewIcons/Simula.png"></BitmapImage>
    
    <!--ProjectManager-->
    <BitmapImage x:Key="NuovoImg" UriSource="Resources/NewIcons/Nuovo.png"></BitmapImage>
    <BitmapImage x:Key="CaricaImg" UriSource="Resources/NewIcons/Carica.png"></BitmapImage>
    <BitmapImage x:Key="SalvaImg" UriSource="Resources/NewIcons/Salva.png"></BitmapImage>
    <BitmapImage x:Key="Salva-con-nomeImg" UriSource="Resources/NewIcons/Salva-con-nome.png"></BitmapImage>
    <BitmapImage x:Key="CSVImg" UriSource="Resources/NewIcons/File-CSV.png"></BitmapImage>
    <BitmapImage x:Key="Vein-matchImg" UriSource="Resources/NewIcons/Vein-match.png"></BitmapImage>
    <BitmapImage x:Key="Test-lamaImg" UriSource="Resources/NewIcons/Test-lama.png"></BitmapImage>
    <BitmapImage x:Key="Parcheggia-pezzoImg" UriSource="Resources/NewIcons/Parcheggia-pezzo.png"></BitmapImage>
    <BitmapImage x:Key="Inserisci-pezzoImg" UriSource="Resources/NewIcons/Inserisci-pezzo.png"></BitmapImage>
    <BitmapImage x:Key="Elimina-pezzoImg" UriSource="Resources/NewIcons/Elimina-pezzo.png"></BitmapImage>
    <BitmapImage x:Key="Seleziona-tuttoImg" UriSource="Resources/NewIcons/Seleziona-tutto.png"></BitmapImage>
    <BitmapImage x:Key="Deseleziona-tuttoImg" UriSource="Resources/NewIcons/Deseleziona-tutto.png"></BitmapImage>
    <BitmapImage x:Key="Drag_RettangleImg" UriSource="Resources/NewIcons/Drag_Rettangle.png"></BitmapImage>
    
    <!--Machine-->
    <BitmapImage x:Key="DatiMacchinaImg" UriSource="Resources/NewIcons/DatiMacchina.png"></BitmapImage>
    <BitmapImage x:Key="DB-lavorazioniImg" UriSource="Resources/NewIcons/DB-lavorazioni.png"></BitmapImage>
    <BitmapImage x:Key="DB-utensiliImg" UriSource="Resources/NewIcons/DB-utensili.png"></BitmapImage>
    <BitmapImage x:Key="MacchinaImg" UriSource="Resources/NewIcons/Macchina.png"></BitmapImage>
    <BitmapImage x:Key="LucidaturaImg" UriSource="Resources/NewIcons/Lucidatura.png"></BitmapImage>
    
    
    <!--Direct cuts-->
    <BitmapImage x:Key="Taglio-grigliaImg" UriSource="Resources/NewIcons/Taglio-griglia.png"></BitmapImage>
    <BitmapImage x:Key="Taglio-multiploImg" UriSource="Resources/NewIcons/Taglio-multiplo.png"></BitmapImage>
    <BitmapImage x:Key="Taglio-singoloImg" UriSource="Resources/NewIcons/Taglio-singolo.png"></BitmapImage>
    <BitmapImage x:Key="Foro-singoloImg" UriSource="Resources/NewIcons/Foro-singolo.png"></BitmapImage>
    <BitmapImage x:Key="SpianaturaImg" UriSource="Resources/NewIcons/Spianatura.png"></BitmapImage>
    <BitmapImage x:Key="Movimento-manualeImg" UriSource="Resources/NewIcons/Movimento-manuale.png"></BitmapImage>
    <BitmapImage x:Key="Copia-dimaImg" UriSource="Resources/NewIcons/Copia-dima.png"></BitmapImage>
    <BitmapImage x:Key="Acquisisci-P1_P2Img" UriSource="Resources/NewIcons/Acquisisci-P1_P2.png"></BitmapImage>
    <BitmapImage x:Key="Acquisisci-P1Img" UriSource="Resources/NewIcons/Acquisisci-P1.png"></BitmapImage>
    <BitmapImage x:Key="Acquisisci-P2Img" UriSource="Resources/NewIcons/Acquisisci-P2.png"></BitmapImage>
    <BitmapImage x:Key="Acquisisci-PImg" UriSource="Resources/NewIcons/Acquisisci-P.png"></BitmapImage>
    <BitmapImage x:Key="ArcoImg" UriSource="Resources/NewIcons/Arco.png"></BitmapImage>
    <BitmapImage x:Key="LineaImg" UriSource="Resources/NewIcons/Linea.png"></BitmapImage>
    <BitmapImage x:Key="Rimuovi-segmentoImg" UriSource="Resources/NewIcons/Rimuovi-segmento.png"></BitmapImage>
    <BitmapImage x:Key="ChiudiImg" UriSource="Resources/NewIcons/Chiudi.png"></BitmapImage>
    <BitmapImage x:Key="Salva-taglioImg" UriSource="Resources/NewIcons/Salva-taglio.png"></BitmapImage>
    <BitmapImage x:Key="Take-pointImg" UriSource="Resources/NewIcons/Take-point.png"></BitmapImage>

    <BitmapImage x:Key="XYJogImg" UriSource="Resources/NewIcons/XYJog.png"></BitmapImage>
    <BitmapImage x:Key="ZCJogImg" UriSource="Resources/NewIcons/ZCJog.png"></BitmapImage>
    <BitmapImage x:Key="ZBJogImg" UriSource="Resources/NewIcons/ZBJog.png"></BitmapImage>


    <!--Frame-->
    <BitmapImage x:Key="Sezione-corniceImg" UriSource="Resources/NewIcons/Sezione-cornice.png"></BitmapImage>
    <BitmapImage x:Key="SpecchiaImg" UriSource="Resources/NewIcons/Specchia.png"></BitmapImage>
    <BitmapImage x:Key="Rimuovi_eliminaImg" UriSource="Resources/NewIcons/Rimuovi_elimina.png"></BitmapImage>

    <!--Machinig-->
    <BitmapImage x:Key="Allunga-AccorciaImg" UriSource="Resources/NewIcons/Allunga-o-accorcia.png"></BitmapImage>
    <BitmapImage x:Key="Inizio-Allunga-AccorciaImg" UriSource="Resources/NewIcons/Inizio-allunga-o-accorcia.png"></BitmapImage>
    <BitmapImage x:Key="Fine-Allunga-AccorciaImg" UriSource="Resources/NewIcons/Fine-allunga-o-accorcia.png"></BitmapImage>
    <BitmapImage x:Key="ON_OFF-singolo-taglioImg" UriSource="Resources/NewIcons/ON_OFF-singolo-taglio.png"></BitmapImage>
    <BitmapImage x:Key="Tutti-ONImg" UriSource="Resources/NewIcons/Tutti-ON.png"></BitmapImage>
    <BitmapImage x:Key="Tutti-OFFImg" UriSource="Resources/NewIcons/Tutti-OFF.png"></BitmapImage>
    <BitmapImage x:Key="Inizio-Centro-FuoriImg" UriSource="Resources/NewIcons/Inizio-centro-fuori.png"></BitmapImage>
    <BitmapImage x:Key="Fine-Centro-FuoriImg" UriSource="Resources/NewIcons/Fine-centro-fuori.png"></BitmapImage>
    <BitmapImage x:Key="Modifica-InizioImg" UriSource="Resources/NewIcons/Modifica-inizio.png"></BitmapImage>
    <BitmapImage x:Key="Modifica-FineImg" UriSource="Resources/NewIcons/Modifica-fine.png"></BitmapImage>
    <BitmapImage x:Key="InvertiImg" UriSource="Resources/NewIcons/Inverti.png"></BitmapImage>
    <BitmapImage x:Key="Pausa-ON_OFFImg" UriSource="Resources/NewIcons/Pausa-ON_OFF.png"></BitmapImage>
    <BitmapImage x:Key="Inizio-tutti-fuoriImg" UriSource="Resources/NewIcons/Inizio-tutti-fuori.png"></BitmapImage>
    <BitmapImage x:Key="Inizio-tutti-centroImg" UriSource="Resources/NewIcons/Inizio-tutti-centro.png"></BitmapImage>
    <BitmapImage x:Key="Fine-tutti-fuoriImg" UriSource="Resources/NewIcons/Fine-tutti-fuori.png"></BitmapImage>
    <BitmapImage x:Key="Fine-tutti-centroImg" UriSource="Resources/NewIcons/Fine-tutti-centro.png"></BitmapImage>
    <BitmapImage x:Key="Tutti-allungaImg" UriSource="Resources/NewIcons/Tutti-allunga.png"></BitmapImage>
    <BitmapImage x:Key="Tutti-accorciaImg" UriSource="Resources/NewIcons/Tutti-accorcia.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" />

    <SolidColorBrush x:Key="OmagCut_TreeViewSelectedItemBackground" Color="Yellow" Opacity="0.4"/>
    <SolidColorBrush x:Key="OmagCut_TreeViewSelectedItemBorder" Color="Yellow" />

    <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_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
        <!--<Setter Property="Background" Value="#636974"   #3C3F48/>
        <Setter Property="BorderBrush" Value="#636974"      #3C3F48/>-->
        <Setter Property="Background" Value="#3C3F48"/>
        <Setter Property="BorderBrush" Value="#3C3F48"/>
    </Style>

    <Style x:Key="OmagCut_MachiningBorder" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_EmptyBorder}">
        <!--<Setter Property="Background" Value="#636974"   #3C3F48/>
        <Setter Property="BorderBrush" Value="#636974"      #3C3F48/>-->
        <Setter Property="Background" Value="{StaticResource OmagCut_Blue}"/>
        <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_WjDbRightGrayGradientYellowTextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource OmagCut_Button_Wrap}">
        <Setter Property="Background" Value="#1C1D22"/>
        <Setter Property="BorderBrush" Value="#1C1D22"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="FontSize" Value="15"/>
    </Style>

    <Style x:Key="OmagCut_YellowIconToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource  OmagCut_ToggleButton}">
        <Setter Property="OverridesDefaultStyle" Value="True" />
        <Setter Property="Background" Value="#636974"/>
        <Setter Property="BorderBrush" Value="#636974"/>
        <Setter Property="FontSize" Value="{StaticResource FontSize_UpperCaseCharacter}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToggleButton}">
                    <Grid Background="{TemplateBinding Background}">
                        <ContentPresenter x:Name="MyContentPresenter" 
                                          Content="{TemplateBinding Content}"
                                          HorizontalAlignment="Center" 
                                          VerticalAlignment="Center" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsChecked" Value="True">
                <Setter Property="ToggleButton.Background" Value="#145993" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="False">
                <Setter Property="Button.Background" Value="{StaticResource OmagCut_LightGray}" />
                <Setter Property="Button.Foreground" Value="{StaticResource OmagCut_Blue}"/>
            </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_DirectCutPageBorder" TargetType="{x:Type Border}" BasedOn="{StaticResource OmagCut_Page2Border}">
        <Setter Property="Background" Value="#636974"/>
    </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="OverridesDefaultStyle" Value="True" />
        <Setter Property="Background" Value="#1C1D22"/>
        <Setter Property="BorderBrush" Value="#1C1D22"/>
        <!--<Setter Property="BorderBrush" Value="{StaticResource OmagCut_Yellow}"/>-->
        <Setter Property="Foreground" Value="LightGray"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid Background="{TemplateBinding Background}">
                        <ContentPresenter x:Name="MyContentPresenter" 
                                          Content="{TemplateBinding Content}"
                                          HorizontalAlignment="Center" 
                                          VerticalAlignment="Center" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsEnabled" Value="False">
                <Setter Property="Button.Background" Value="{StaticResource OmagCut_LightGray}" />
                <Setter Property="Button.Foreground" Value="{StaticResource OmagCut_DarkGray}"/>
            </Trigger>
        </Style.Triggers>
    </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="OverridesDefaultStyle" Value="True" />
        <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}}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid Background="{TemplateBinding Background}">
                        <ContentPresenter x:Name="MyContentPresenter" 
                                          Content="{TemplateBinding Content}"
                                          HorizontalAlignment="Center" 
                                          VerticalAlignment="Center" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsEnabled" Value="False">
                <Setter Property="Button.Background" Value="{StaticResource OmagCut_LightGray}" />
                <Setter Property="Button.Foreground" Value="{StaticResource OmagCut_Blue}"/>
            </Trigger>
        </Style.Triggers>
    </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="White"/>
    </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_MDIKeyboardTextBox" TargetType="{x:Type EgtWPFLib:EgtTextBox}" BasedOn="{StaticResource OmagCut_KeyboardTextBox}">
        <Setter Property="Foreground" Value="Black"/>
    </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="Margin" Value="{DynamicResource TextBoxInGroupBox_Margin}"/>
        <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>
