Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f91bafd59 | |||
| 38fbdc08dc |
@@ -13,10 +13,10 @@
|
||||
MaxWidth="500"
|
||||
ResizeMode="NoResize">
|
||||
|
||||
<DockPanel Margin="5,5,5,0" Background="{StaticResource Omag_DarkGray}">
|
||||
<DockPanel Margin="5,5,5,0" Background="{StaticResource Gradient_Gray}">
|
||||
<!--Background="{StaticResource Omag_DarkGray}"-->
|
||||
|
||||
|
||||
<UniformGrid Columns="15"
|
||||
<UniformGrid Columns="15"
|
||||
DockPanel.Dock="Top"
|
||||
Margin="0,0,0,5">
|
||||
<Button Command="{Binding NewCommand}"
|
||||
|
||||
@@ -135,32 +135,44 @@ Public Class MyMachinePanelVM
|
||||
ToolDbWindowVM.MyForegroundGrbColor = Brushes.White
|
||||
|
||||
' Definisco lo stile della pagina
|
||||
ToolDbWindowVM.BorderBrushIsMouseOver = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.GeneralBorderBrush = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BorderBrushIsFocused = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BackgroundBrdEnable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BackgroundBrdDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BackgroundTxBlDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BorderBrushIsMouseOver = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.GeneralBorderBrush = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BorderBrushIsFocused = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BackgroundBrdEnable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BackgroundBrdDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BackgroundTxBlDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BorderBrushIsMouseOver = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.GeneralBorderBrush = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.BorderBrushIsFocused = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.BackgroundBrdEnable = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.BackgroundBrdDisable = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.BackgroundTxBlDisable = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.ForegroundTxBlEnable = Brushes.White
|
||||
ToolDbWindowVM.ForegroundTxBlDisable = Brushes.White
|
||||
ToolDbWindowVM.GeneralForeground = Brushes.White
|
||||
ToolDbWindowVM.GeneralBackground = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.GeneralBackground = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.GeneralBackground = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
|
||||
' Definisco lo stile della ComboBox
|
||||
ToolDbWindowVM.BackgroundCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BackgroundListCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BackgroundCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BackgroundListCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BackgroundCmBxTxBl = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.BackgroundListCmBxTxBl = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.ForegroundCmBxTxBl = Brushes.White
|
||||
ToolDbWindowVM.BorderBrushCmBxTxBl = Brushes.Black
|
||||
ToolDbWindowVM.BorderThicknessCmBxTxBl = New Thickness(1)
|
||||
ToolDbWindowVM.VerticalContentAlignmentCmBxTxBl = "Center"
|
||||
ToolDbWindowVM.HeightCmBxTxBl = "25"
|
||||
'ToolDbWindowVM.HeightCmBxTxBl = "25"
|
||||
ToolDbWindowVM.HeightCmBxTxBl = "22"
|
||||
ToolDbWindowVM.WidthCmBxTxBl = "Auto"
|
||||
ToolDbWindowVM.ForegroundTextBoxCmBxTxBl = Brushes.White
|
||||
|
||||
'Definisco lo stile del Button
|
||||
ToolDbWindowVM.BackgroundButton = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BackgroundButton = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BackgroundButton = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.ForegroundButton = Brushes.White
|
||||
ToolDbWindowVM.BorderBrushButton = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'ToolDbWindowVM.BorderBrushButton = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
ToolDbWindowVM.BorderBrushButton = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
ToolDbWindowVM.BorderThicknessButton = New Thickness(1)
|
||||
|
||||
''Definisco lo stile della DataGrid
|
||||
@@ -228,46 +240,64 @@ Public Class MyMachinePanelVM
|
||||
MachDbWindowVM.MyForegroundGrbColor = Brushes.White
|
||||
|
||||
' Definisco lo stile della pagina
|
||||
MachDbWindowVM.BorderBrushIsMouseOver = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.GeneralBorderBrush = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BorderBrushIsFocused = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundBrdEnable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundBrdDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundTxBlDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BorderBrushIsMouseOver = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.GeneralBorderBrush = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BorderBrushIsFocused = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BackgroundBrdEnable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BackgroundBrdDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BackgroundTxBlDisable = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BorderBrushIsMouseOver = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.GeneralBorderBrush = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BorderBrushIsFocused = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BackgroundBrdEnable = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BackgroundBrdDisable = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BackgroundTxBlDisable = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.ForegroundTxBlEnable = Brushes.White
|
||||
MachDbWindowVM.ForegroundTxBlDisable = Brushes.White
|
||||
MachDbWindowVM.GeneralForeground = Brushes.White
|
||||
MachDbWindowVM.GeneralBackground = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.GeneralBackground = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.GeneralBackground = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.MyForegroundChColor = Brushes.White
|
||||
|
||||
' Definisco lo stile della ComboBox
|
||||
MachDbWindowVM.BackgroundCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundListCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BackgroundCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundCmBxTxBl = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
'MachDbWindowVM.BackgroundListCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundListCmBxTxBl = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.ForegroundCmBxTxBl = Brushes.White
|
||||
MachDbWindowVM.BorderBrushCmBxTxBl = Brushes.Black
|
||||
'MachDbWindowVM.BorderBrushCmBxTxBl = Brushes.Black
|
||||
MachDbWindowVM.BorderBrushCmBxTxBl = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BorderThicknessCmBxTxBl = New Thickness(1)
|
||||
MachDbWindowVM.VerticalContentAlignmentCmBxTxBl = "Center"
|
||||
MachDbWindowVM.HeightCmBxTxBl = "25"
|
||||
'MachDbWindowVM.HeightCmBxTxBl = "25"
|
||||
MachDbWindowVM.HeightCmBxTxBl = "22"
|
||||
MachDbWindowVM.WidthCmBxTxBl = "Auto"
|
||||
MachDbWindowVM.ForegroundTextBoxCmBxTxBl = Brushes.White
|
||||
|
||||
'Definisco lo stile del ToggleButton
|
||||
MachDbWindowVM.BackgroundIsChecked = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BackgroundIsChecked = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundIsChecked = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.ForegroundIsChecked = Brushes.White
|
||||
MachDbWindowVM.BorderBrushIsChecked = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BorderBrushIsChecked = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BorderBrushIsChecked = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BorderThicknessIsChecked = New Thickness(1)
|
||||
MachDbWindowVM.OpacityIsChecked = 0.25
|
||||
|
||||
'Definisco lo stile della DataGrid
|
||||
MachDbWindowVM.HeaderVisibility = DataGridHeadersVisibility.Column
|
||||
MachDbWindowVM.BackgroundDataGrid = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#484D55"), Brush)
|
||||
MachDbWindowVM.BackGroundHeader = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#484D55"), Brush)
|
||||
'MachDbWindowVM.BackgroundDataGrid = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#484D55"), Brush)
|
||||
'MachDbWindowVM.BackGroundHeader = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#484D55"), Brush)
|
||||
MachDbWindowVM.BackgroundDataGrid = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#696969"), Color), CType(ColorConverter.ConvertFromString("#787878"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BackGroundHeader = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#696969"), Color), CType(ColorConverter.ConvertFromString("#787878"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.ForegroundHeader = Brushes.White
|
||||
MachDbWindowVM.BorderBrushHeader = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BorderBrushHeader = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BorderBrushHeader = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BorderThicknessHeader = New Thickness(0)
|
||||
MachDbWindowVM.FontWeightHeader = FontWeights.Bold
|
||||
MachDbWindowVM.BorderBrushDataGrid = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BackgroundDataGridRow = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BorderBrushDataGrid = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
'MachDbWindowVM.BackgroundDataGridRow = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush)
|
||||
MachDbWindowVM.BorderBrushDataGrid = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.BackgroundDataGridRow = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
MachDbWindowVM.ForegroundDataGridRow = Brushes.White
|
||||
MachDbWindowVM.BorderBrushDataGridRow = Brushes.DarkGray
|
||||
MachDbWindowVM.BorderThicknessDataGridRow = New Thickness(0, 0, 0, 1)
|
||||
@@ -348,7 +378,8 @@ Public Class MyMachinePanelVM
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = Brushes.Red
|
||||
Else
|
||||
OmagOFFICEMap.refOptionPanelVM.RawPart_Background = OmagOFFICEDictionary.TabControl_Header_Background
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
'OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
||||
DataContext="{StaticResource MainWindowVM}"
|
||||
Style="{DynamicResource MainWindowStyle}"
|
||||
Title="{Binding Title}" Icon="/Resources/OmagOFFICE.ico"
|
||||
Title="{Binding Title}" Icon="/Resources/Egalware.ico"
|
||||
MinHeight="600" MinWidth="800"
|
||||
AboutBoxCommand="{Binding AboutBoxCommand}" WindowStyle="None" ResizeMode="NoResize"
|
||||
CloseCommand="{Binding CloseApplicationCommand,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"
|
||||
Background="{StaticResource Omag_DarkGray}">
|
||||
Background="{StaticResource Gradient_Gray}">
|
||||
<!--Background="{StaticResource Omag_DarkGray}"-->
|
||||
<EgtWPFLib5:EgtCustomWindow.TitlePanel>
|
||||
<OmagOFFICE:TopCommandBarV DataContext="{StaticResource TopCommandBarVM}"/>
|
||||
</EgtWPFLib5:EgtCustomWindow.TitlePanel>
|
||||
|
||||
@@ -92,17 +92,19 @@
|
||||
</ListBox>
|
||||
|
||||
<Button Content="+" Height="20" Width="20" VerticalAlignment="Center" Focusable="False"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
Foreground="{StaticResource Omag_White}"
|
||||
Padding="0,0,0,5"
|
||||
Margin="3,0,5,0" Command="{Binding AddMachGroupCommand}" Grid.Column="1"
|
||||
IsEnabled="{Binding IsEnabledAddRemove}"/>
|
||||
<!--Background="{StaticResource Omag_DarkGray}"-->
|
||||
<Button Content="-" Height="20" Width="20" VerticalAlignment="Center" Focusable="False"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
Foreground="{StaticResource Omag_White}"
|
||||
Padding="0,0,0,5"
|
||||
Margin="0,0,5,0" Command="{Binding RemoveMachGroupCommand}" Grid.Column="2"
|
||||
IsEnabled="{Binding IsEnabledAddRemove}"/>
|
||||
<!--Background="{StaticResource Omag_DarkGray}"-->
|
||||
|
||||
</Grid>
|
||||
|
||||
|
||||
@@ -246,11 +246,13 @@ Public Class MyMachGroupPanelVM
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = Brushes.Red
|
||||
Else
|
||||
OmagOFFICEMap.refOptionPanelVM.RawPart_Background = OmagOFFICEDictionary.TabControl_Header_Background
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
'OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
End If
|
||||
Else
|
||||
OmagOFFICEMap.refOptionPanelVM.RawPart_Background = OmagOFFICEDictionary.TabControl_Header_Background
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
'OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
OmagOFFICEMap.refRawPartTabVM.CurrMach_Background = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
End If
|
||||
|
||||
' Se non esiste il grezzo vado subito alla sua definizione
|
||||
|
||||
@@ -963,6 +963,9 @@
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\NewIcons\DB-WJ.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Egalware.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\OmagOFFICE\OmagOFFICER32.exe
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
<Button Style="{StaticResource MachiningTab_Button}"
|
||||
Command="{Binding PrevCommand}"
|
||||
IsEnabled="{Binding PrevIsEnabled}"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
Margin="0,0,1,0">
|
||||
<Image Source="/Resources/MachiningTab/BackArrow.png"/>
|
||||
</Button>
|
||||
<Button Style="{StaticResource MachiningTab_Button}"
|
||||
Command="{Binding NextCommand}"
|
||||
IsEnabled="{Binding NextIsEnabled}"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
Margin="0,0,0,0">
|
||||
<Image Source="/Resources/MachiningTab/ForwardArrow.png"/>
|
||||
</Button>
|
||||
@@ -22,14 +22,14 @@
|
||||
Content="{Binding ModifyMsg}"
|
||||
Command="{Binding ModifyCommand}"
|
||||
IsEnabled="{Binding ModifyIsEnabled}"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
Foreground="{StaticResource Omag_White}"
|
||||
Margin="1,0,1,0"/>
|
||||
<Button Style="{StaticResource MachiningTab_Button}"
|
||||
Content="{Binding AutoMsg}"
|
||||
Command="{Binding AutoCommand}"
|
||||
Visibility="{Binding AutoVisibility}"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
Foreground="{StaticResource Omag_White}"
|
||||
Margin="1,0,1,0"/>
|
||||
</UniformGrid>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
Text="{Binding MoveStep}"
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="right"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray}"
|
||||
Foreground="{StaticResource Omag_White}"
|
||||
VerticalAlignment="Center"/>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
</Button>
|
||||
|
||||
<Button Grid.Column="0" Grid.Row="6"
|
||||
Style="{StaticResource OptionPanel_MoveButton}"
|
||||
Style="{StaticResource OptionPanel_MoveButton2}"
|
||||
Command="{Binding CcwRotCommand}"
|
||||
Visibility="{Binding RotationVisibility}">
|
||||
<Image Source="/Resources/NestingTab/CounterClockwiseRotate.png"
|
||||
@@ -82,14 +82,15 @@
|
||||
<TextBox Text="{Binding RotationStep}" Width="40" Height="20"
|
||||
HorizontalAlignment="center"
|
||||
HorizontalContentAlignment="right"
|
||||
Background="{StaticResource Omag_Black}"
|
||||
Background="{StaticResource Gradient_Gray}"
|
||||
Foreground="{StaticResource Omag_White}"/>
|
||||
<TextBlock Grid.Column="1" FontSize="25" Margin="2,-5,0,0"
|
||||
<!--Background="{StaticResource Omag_Black}"-->
|
||||
<TextBlock Grid.Column="1" FontSize="25" Margin="2,-5,0,0"
|
||||
Foreground="{StaticResource Omag_White}" Text="°"/>
|
||||
</Grid>
|
||||
|
||||
<Button Grid.Column="4" Grid.Row="6"
|
||||
Style="{StaticResource OptionPanel_MoveButton}"
|
||||
Style="{StaticResource OptionPanel_MoveButton2}"
|
||||
Command="{Binding CwRotCommand}"
|
||||
Visibility="{Binding RotationVisibility}">
|
||||
<Image Source="/Resources/NestingTab/ClockwiseRotate.png"
|
||||
|
||||
@@ -39,19 +39,19 @@
|
||||
|
||||
<Grid HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,0,0,0">
|
||||
Margin="0,0,0,5">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="5"/>
|
||||
<ColumnDefinition Width="0.5"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="5"/>
|
||||
<ColumnDefinition Width="0.5"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="5"/>
|
||||
<RowDefinition Height="0.5"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="5"/>
|
||||
<RowDefinition Height="0.5"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="5"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
@@ -60,7 +60,7 @@
|
||||
<!--<TextBlock Name="PositioningLbl" Grid.ColumnSpan="3" VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center" FontSize="15" />-->
|
||||
<Button Grid.Column="0" Grid.Row="0"
|
||||
Style="{StaticResource OptionPanel_NestingButton}" Width="48" Height="48"
|
||||
Style="{StaticResource OptionPanel_NestingButton2}" Width="48" Height="48"
|
||||
Command="{Binding PartRotOnCommand}">
|
||||
<Image Source="/Resources/NestingTab/PartRotOn.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
@@ -71,7 +71,7 @@
|
||||
Width="40"/>
|
||||
</Button>
|
||||
<Button Grid.Column="4" Grid.Row="0"
|
||||
Style="{StaticResource OptionPanel_NestingButton}" Width="48" Height="48"
|
||||
Style="{StaticResource OptionPanel_NestingButton2}" Width="48" Height="48"
|
||||
Command="{Binding PartRotOffCommand}">
|
||||
<Image Source="/Resources/NestingTab/PartRotOff.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
@@ -93,10 +93,12 @@
|
||||
Width="40"/>
|
||||
</Button>
|
||||
|
||||
<EgtWPFLib5:EgtTextBox Grid.Column="0" Grid.Row="4" Width="40"
|
||||
<TextBox Grid.Column="0" Grid.Row="4" Width="40" Height="20"
|
||||
Text="{Binding StepMove}"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalContentAlignment="Right"/>
|
||||
HorizontalContentAlignment="Right"
|
||||
Background="{StaticResource Gradient_Gray}"
|
||||
Foreground="{StaticResource Omag_White}"/>
|
||||
|
||||
<Button Grid.Column="2" Grid.Row="4"
|
||||
Style="{StaticResource OptionPanel_NestingButton}"
|
||||
@@ -111,15 +113,18 @@
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<EgtWPFLib5:EgtTextBox Text="{Binding RotationAngle}" Width="40"
|
||||
<TextBox Text="{Binding RotationAngle}" Width="40" Height="20"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalContentAlignment="Left"/>
|
||||
HorizontalContentAlignment="Left"
|
||||
Margin="1.5,0,0,0"
|
||||
Background="{StaticResource Gradient_Gray}"
|
||||
Foreground="{StaticResource Omag_White}"/>
|
||||
<TextBlock Grid.Column="1" Margin="2,0,0,0"
|
||||
FontSize="20" Text="°"/>
|
||||
FontSize="20" Text="°" Foreground="{StaticResource Omag_White}"/>
|
||||
</Grid>
|
||||
|
||||
<Button Grid.Column="0" Grid.Row="6"
|
||||
Style="{StaticResource OptionPanel_NestingButton}"
|
||||
Style="{StaticResource OptionPanel_NestingButton2}"
|
||||
Command="{Binding CClockwiseRotCommand}">
|
||||
<Image Source="/Resources/NestingTab/CounterClockwiseRotate.png"
|
||||
Width="64" Height="65" HorizontalAlignment="Center"
|
||||
@@ -133,7 +138,7 @@
|
||||
VerticalAlignment="Center" />
|
||||
</ToggleButton>
|
||||
<Button Grid.Column="4" Grid.Row="6"
|
||||
Style="{StaticResource OptionPanel_NestingButton}"
|
||||
Style="{StaticResource OptionPanel_NestingButton2}"
|
||||
Command="{Binding ClockwiseRotCommand}">
|
||||
<Image Source="/Resources/NestingTab/ClockwiseRotate.png"
|
||||
Width="65" Height="65" HorizontalAlignment="Center"
|
||||
|
||||
@@ -904,7 +904,8 @@ Public Class RawPartTabVM
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Private m_CurrMach_Background As Brush = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
'Private m_CurrMach_Background As Brush = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
Private m_CurrMach_Background As Brush = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
Public Property CurrMach_Background As Brush
|
||||
Get
|
||||
Return m_CurrMach_Background
|
||||
@@ -2100,7 +2101,8 @@ Public Class RawPartTabVM
|
||||
OmagOFFICEMap.refOptionPanelVM.MachTabIsEnabled = True
|
||||
OmagOFFICEMap.refOptionPanelVM.SimulTabIsEnabled = True
|
||||
OmagOFFICEMap.refOptionPanelVM.RawPart_Background = OmagOFFICEDictionary.TabControl_Header_Background
|
||||
CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
'CurrMach_Background = DirectCast(New BrushConverter().ConvertFrom("#1C1D22"), SolidColorBrush)
|
||||
CurrMach_Background = New LinearGradientBrush(CType(ColorConverter.ConvertFromString("#808080"), Color), CType(ColorConverter.ConvertFromString("#909090"), Color), New Point(0.0, 0.0), New Point(0.0, 1.1))
|
||||
Else
|
||||
OmagOFFICEMap.refOptionPanelVM.NestTabIsEnabled = False
|
||||
OmagOFFICEMap.refOptionPanelVM.MachTabIsEnabled = False
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
||||
xmlns:OmagOFFICE="clr-namespace:OmagOFFICE"
|
||||
Background="{StaticResource Omag_DarkGray}">
|
||||
Background="{StaticResource Gradient_Gray}">
|
||||
<!--Background="{StaticResource Omag_DarkGray}"-->
|
||||
|
||||
<DockPanel x:Name="LEFTTRAY" DockPanel.Dock="Left" Background="Transparent">
|
||||
<OmagOFFICE:OptionPanelV DataContext="{StaticResource OptionPanelVM}"
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
@@ -45,12 +45,29 @@
|
||||
<SolidColorBrush x:Key="Omag_Green" Color="LawnGreen" />
|
||||
<SolidColorBrush x:Key="Omag_VeryLightGray" Color="#FFF2F2F2" />
|
||||
<SolidColorBrush x:Key="Omag_LightGray" Color="LightGray" />
|
||||
<SolidColorBrush x:Key="Omag_Gray" Color="#FF9E9E9E" />
|
||||
<SolidColorBrush x:Key="Omag_DarkGray" Color="#484D55" />
|
||||
<SolidColorBrush x:Key="Omag_Gray" Color="#808080" />
|
||||
<SolidColorBrush x:Key="Omag_DarkGray" Color="#484D55" />
|
||||
<SolidColorBrush x:Key="Omag_White" Color="#FFFFFFFF" />
|
||||
<SolidColorBrush x:Key="Omag_Black" Color="#1C1D22" />
|
||||
|
||||
<Thickness x:Key="BorderBtn_Thickness">0</Thickness>
|
||||
<LinearGradientBrush x:Key="Gradient_Gray" StartPoint="0,0" EndPoint="1500,1500" MappingMode="Absolute">
|
||||
<GradientStop Color="#808080" Offset="0.7"/>
|
||||
<GradientStop Color="#505050" Offset="0.3"/>
|
||||
</LinearGradientBrush>
|
||||
|
||||
<LinearGradientBrush x:Key="Gradient_Gray_Button" StartPoint="0,0" EndPoint="1,1">
|
||||
<GradientStop Color="#808080" Offset="0"/>
|
||||
<GradientStop Color="#909090" Offset="0.5"/>
|
||||
</LinearGradientBrush>
|
||||
|
||||
<LinearGradientBrush x:Key="Combo_Gradient">
|
||||
<GradientStop Color="#808080" Offset="0"/>
|
||||
<GradientStop Color="#909090" Offset="1"/>
|
||||
<GradientStop Color="#909090" Offset="0.50"/>
|
||||
<GradientStop Color="#808080" Offset="0.95"/>
|
||||
</LinearGradientBrush>
|
||||
|
||||
<Thickness x:Key="BorderBtn_Thickness">0.25</Thickness>
|
||||
<Thickness x:Key="BorderGpBx_Thickness">0.25</Thickness>
|
||||
<Thickness x:Key="BorderBrd_Thickness">0.5</Thickness>
|
||||
|
||||
@@ -68,7 +85,8 @@
|
||||
|
||||
<!--Colore del contorno quando il Mouse è sopra la TextBox-->
|
||||
<LinearGradientBrush x:Key="BrushBorderIsMouseOverTText" EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
|
||||
<GradientStop Color="#1C1D22" Offset="0.05"/>
|
||||
<!--<GradientStop Color="#1C1D22" Offset="0.05"/>-->
|
||||
<GradientStop Color="#484D55" Offset="0.05"/>
|
||||
<GradientStop Color="#1C1D22" Offset="0.07"/>
|
||||
</LinearGradientBrush>
|
||||
|
||||
@@ -128,8 +146,9 @@
|
||||
<SolidColorBrush x:Key="Button.Disabled.Foreground" Color="#FF838383"/>
|
||||
<Style TargetType="{x:Type Button}">
|
||||
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
||||
<Setter Property="Background" Value="{StaticResource Button.Static.Background}"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Button.Static.Background}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||||
@@ -297,15 +316,17 @@
|
||||
<Style x:Key="ToolBar_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="30"/>
|
||||
<Setter Property="Width" Value="80"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}" />
|
||||
</Style>
|
||||
<Style x:Key="OptionPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="40"/>
|
||||
<Setter Property="Width" Value="40"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
@@ -360,8 +381,9 @@
|
||||
<Style x:Key="Split_Button_Img" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="42"/>
|
||||
<Setter Property="Width" Value="42"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
@@ -389,8 +411,9 @@
|
||||
<Style x:Key="Nest_Button_Img" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="45"/>
|
||||
<Setter Property="Width" Value="45"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Simul_Button_Img" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
@@ -403,8 +426,9 @@
|
||||
<Style x:Key="OptionPanel_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="30"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
@@ -439,8 +463,9 @@
|
||||
<Style x:Key="SimulPanel_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="30"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="OptionPanel_TextWrapButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
@@ -452,11 +477,20 @@
|
||||
<Style x:Key="OptionPanel_NestingButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="50"/>
|
||||
<Setter Property="Width" Value="50"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DrawImport_NestingButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Style x:Key="OptionPanel_NestingButton2" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="50"/>
|
||||
<Setter Property="Width" Value="50"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DrawImport_NestingButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="50"/>
|
||||
<Setter Property="Width" Value="50"/>
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
@@ -466,11 +500,20 @@
|
||||
<Style x:Key="OptionPanel_MoveButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="55"/>
|
||||
<Setter Property="Width" Value="55"/>
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="CompoWindow_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Style x:Key="OptionPanel_MoveButton2" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="55"/>
|
||||
<Setter Property="Width" Value="55"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="CompoWindow_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Height" Value="40"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="Background" Value="#636974"/>
|
||||
@@ -487,8 +530,9 @@
|
||||
|
||||
<Style TargetType="{x:Type ToggleButton}">
|
||||
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
||||
<Setter Property="Background" Value="#636974"/>
|
||||
<Setter Property="BorderBrush" Value="#636974"/>
|
||||
<!--<Setter Property="Background" Value="#636974"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderBrush" Value="#636974"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
@@ -576,7 +620,8 @@
|
||||
<Style x:Key="OptionPanel_NestingToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
||||
<Setter Property="Height" Value="50"/>
|
||||
<Setter Property="Width" Value="50"/>
|
||||
</Style>
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DrawImport_NestingToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
||||
<Setter Property="Height" Value="50"/>
|
||||
@@ -667,17 +712,23 @@
|
||||
<Setter Property="HorizontalContentAlignment" Value="Right"/>
|
||||
<Setter Property="ExplicitUpdateSource" Value="EnterKeyPress"/>
|
||||
<!--Nuovi Parametri-->
|
||||
<Setter Property="BackgroundBrdEnable" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BackgroundBrdDisable" Value="{StaticResource Omag_Black}"/>
|
||||
<!--<Setter Property="BackgroundBrdEnable" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="BackgroundBrdEnable" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<!--<Setter Property="BackgroundBrdDisable" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="BackgroundBrdDisable" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderBrushIsMouseOver" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderBrushIsFocused" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="GeneralBorderBrush" Value="{StaticResource BrushBorderIsMouseOverTText}"/>
|
||||
<Setter Property="BackgroundTxBlDisable" Value="{StaticResource BrushBorderIsMouseOverTText}"/>
|
||||
<!--<Setter Property="GeneralBorderBrush" Value="{StaticResource BrushBorderIsMouseOverTText}"/>-->
|
||||
<Setter Property="GeneralBorderBrush" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<!--<Setter Property="BackgroundTxBlDisable" Value="{StaticResource BrushBorderIsMouseOverTText}"/>-->
|
||||
<Setter Property="BackgroundTxBlDisable" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="ForegroundTxBlEnable" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="ForegroundTxBlDisable" Value="{StaticResource Omag_Gray}"/>
|
||||
<Setter Property="GeneralForeground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="GeneralBackground" Value="{StaticResource Omag_Black}"/>
|
||||
</Style>
|
||||
<!--<Setter Property="ForegroundTxBlDisable" Value="{StaticResource Omag_Gray}"/>-->
|
||||
<Setter Property="ForegroundTxBlDisable" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="GeneralForeground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="GeneralBackground" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="GeneralBackground" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="ToolsTextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
||||
<Setter Property="Margin" Value="0,0,5,0"/>
|
||||
@@ -705,8 +756,9 @@
|
||||
</Style>
|
||||
|
||||
<Style x:Key="AxisTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
||||
<Setter Property="Background" Value="#2D3036"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="#2D3036"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="IsReadOnly" Value="True"/>
|
||||
<Setter Property="IsEnabled" Value="False"/>
|
||||
<Setter Property="TextAlignment" Value="Right"/>
|
||||
@@ -794,10 +846,11 @@
|
||||
|
||||
<Style TargetType="{x:Type EgtWPFLib5:EgtCustomWindow}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtCustomWindow}}">
|
||||
<Setter Property="TitleBarHeight" Value="32"/>
|
||||
<!--<Setter Property="TitleBarBrush" Value="{StaticResource Omag_LightGray}"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
||||
<Setter Property="Background" Value ="{StaticResource Omag_DarkGray}"/>
|
||||
<Setter Property="TitleBarForeground" Value="{StaticResource Omag_White}" />
|
||||
<Setter Property="TitleBarBrush" Value="{StaticResource Omag_LightGray}"/>
|
||||
<!--<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray}"/>
|
||||
<!--<Setter Property="Background" Value ="{StaticResource Omag_DarkGray}"/>-->
|
||||
<Setter Property="TitleBarForeground" Value="{StaticResource Omag_White}" />
|
||||
<Setter Property="TitleBarBrush" Value="{StaticResource BrushBorderIsMouseOverTText}" />
|
||||
<Setter Property="BorderBrush" Value="Transparent" />
|
||||
</Style>
|
||||
@@ -806,10 +859,13 @@
|
||||
<Setter Property="TitleBarHeight" Value="32"/>
|
||||
<!--<Setter Property="TitleBarBrush" Value="{StaticResource Omag_LightGray}"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
||||
<Setter Property="Background" Value ="{StaticResource Omag_DarkGray}"/>
|
||||
<Setter Property="TitleBarForeground" Value="{StaticResource Omag_White}" />
|
||||
<Setter Property="TitleBarBrush" Value="{StaticResource Omag_DarkGray}" />
|
||||
<Setter Property="BorderBrush" Value="Transparent" />
|
||||
<!--<Setter Property="Background" Value ="{StaticResource Omag_DarkGray}"/>-->
|
||||
<Setter Property="Background" Value ="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="TitleBarForeground" Value="{StaticResource Omag_White}" />
|
||||
<!--<Setter Property="TitleBarBrush" Value="{StaticResource Omag_DarkGray}" />-->
|
||||
<!--<Setter Property="TitleBarBrush" Value="{StaticResource Omag_Gray}" />-->
|
||||
<Setter Property="TitleBarBrush" Value="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="BorderBrush" Value="Transparent" />
|
||||
</Style>
|
||||
|
||||
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
||||
@@ -820,24 +876,27 @@
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Gray}"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
<!--<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>-->
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Machine_EgtFloatingPanel" TargetType="{x:Type EgtFloating:EgtFloatingPanel}" BasedOn="{StaticResource {x:Type EgtFloating:EgtFloatingPanel}}">
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Gray}"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
<!--<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>-->
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Option_EgtFloatingPanel" TargetType="{x:Type EgtFloating:EgtFloatingPanel}" BasedOn="{StaticResource {x:Type EgtFloating:EgtFloatingPanel}}">
|
||||
<Setter Property="IsToolBar" Value="False"/>
|
||||
<Setter Property="TitleBarOrientation" Value="Vertical"/>
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
<!--<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>-->
|
||||
<Setter Property="BorderBrush" Value="{StaticResource Gradient_Gray}"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
</Style>
|
||||
|
||||
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
||||
@@ -1127,8 +1186,9 @@
|
||||
</Style>
|
||||
|
||||
<Style TargetType="{x:Type ComboBox}">
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Height" Value="25" />
|
||||
@@ -1188,17 +1248,21 @@
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Raw_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Combo_Gradient}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Height" Value="25" />
|
||||
<Setter Property="Width" Value="Auto" />
|
||||
</Style>
|
||||
|
||||
|
||||
|
||||
<Style x:Key="OptionWnd_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Height" Value="25" />
|
||||
@@ -1206,8 +1270,9 @@
|
||||
</Style>
|
||||
|
||||
<Style x:Key="MachiningsComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Height" Value="25" />
|
||||
@@ -1216,8 +1281,9 @@
|
||||
</Style>
|
||||
|
||||
<Style x:Key="MachiningsToolComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Height" Value="25" />
|
||||
@@ -1251,11 +1317,12 @@
|
||||
<ControlTemplate TargetType="{x:Type TabItem}">
|
||||
<Grid>
|
||||
<Border Name="border" Margin="1,0,0,0" BorderThickness="0" CornerRadius="0"
|
||||
Background="{StaticResource Omag_DarkGray}"
|
||||
BorderBrush="{StaticResource Omag_Gray}">
|
||||
Background="{StaticResource Gradient_Gray_Button}"
|
||||
BorderBrush="{StaticResource Gradient_Gray_Button}">
|
||||
<ContentPresenter x:Name="contentPresenter" VerticalAlignment="Center" HorizontalAlignment="Center"
|
||||
ContentSource="Header" RecognizesAccessKey="True"/>
|
||||
</Border>
|
||||
<!--Background="{StaticResource Omag_DarkGray}"-->
|
||||
</Border>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
@@ -1263,9 +1330,11 @@
|
||||
<Setter Property="BorderBrush" TargetName="border" Value="#FFADB2B5"/>
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="True">
|
||||
<Setter Property="Background" TargetName="border" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Omag_Black}"/>
|
||||
</Trigger>
|
||||
<!--<Setter Property="Background" TargetName="border" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" TargetName="border" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
</Trigger>
|
||||
<Trigger Property="IsSelected" Value="True">
|
||||
<Setter Property="Background" TargetName="border" Value="{StaticResource Omag_Blue}"/>
|
||||
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Omag_Gray}"/>
|
||||
@@ -1315,8 +1384,9 @@
|
||||
|
||||
<!-- ListBox -->
|
||||
<Style x:Key="OptionWnd_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource {x:Type ListBox}}">
|
||||
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<!--<Setter Property="Background" Value="{StaticResource Omag_Black}"/>-->
|
||||
<Setter Property="Background" Value="{StaticResource Gradient_Gray_Button}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
||||
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
||||
</Style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user