This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,646 @@
using System;
using System.Windows;
using System.Windows.Media;
//FB 33034 Refactor to remove the second implementation of BrushesAndColors class
//from DataPro project
namespace DTS.Common
{
/// <summary>
/// helper class to simplify using brushes and colors
/// note this class is holding static caches of the brushes, so if we switch themes they might be out of date
/// and we could just return them directly each time in which case we wouldn't have that problem, however
/// we can also avoid the time for the lookup even though it's not likely to be significant by holding it here
/// Currently we aren't using themese after all ...
/// </summary>
public abstract class BrushesAndColors
{
private static ResourceDictionary _resourceDictionary = default(ResourceDictionary);
private static SolidColorBrush _brush_ApplicationTileExport = null;
public static SolidColorBrush Brush_ApplicationTileExport
{
get
{
if (null == _brush_ApplicationTileExport)
{
_brush_ApplicationTileExport =
(SolidColorBrush)Application.Current.FindResource("Brush_ApplicationTileExport");
_brush_ApplicationTileExport.Freeze();
}
return _brush_ApplicationTileExport;
}
}
private static SolidColorBrush _brush_ApplicationTileCollectData = null;
public static SolidColorBrush Brush__ApplicationTileCollectData
{
get
{
if (null == _brush_ApplicationTileCollectData)
{
_brush_ApplicationTileCollectData =
(SolidColorBrush)
Application.Current.FindResource("Brush_ApplicationTileCollectData");
_brush_ApplicationTileCollectData.Freeze();
}
return _brush_ApplicationTileCollectData;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Failed = null;
public static SolidColorBrush Brush_ApplicationStatus_Failed
{
get
{
if (null == _brush_ApplicationStatus_Failed)
{
_brush_ApplicationStatus_Failed = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Failed");
_brush_ApplicationStatus_Failed.Freeze();
}
return _brush_ApplicationStatus_Failed;
}
}
private static SolidColorBrush _brush_ApplicationStatus_TSRAIRGo_Failed = null;
public static SolidColorBrush Brush_ApplicationStatus_TSRAIRGo_Failed
{
get
{
if (null == _brush_ApplicationStatus_TSRAIRGo_Failed)
{
_brush_ApplicationStatus_TSRAIRGo_Failed = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_TSRAIRGo_Failed");
_brush_ApplicationStatus_TSRAIRGo_Failed.Freeze();
}
return _brush_ApplicationStatus_TSRAIRGo_Failed;
}
}
private static SolidColorBrush _brush_Dimmed_Text = null;
public static SolidColorBrush Brush_Dimmed_Text
{
get
{
if (null == _brush_Dimmed_Text)
{
_brush_Dimmed_Text = (SolidColorBrush)Application.Current.FindResource("Brush_Dimmed_TextForeground");
_brush_Dimmed_Text.Freeze();
}
return _brush_Dimmed_Text;
}
}
private static SolidColorBrush _brush_Application_Idle = null;
public static SolidColorBrush Brush_Application_Idle
{
get
{
if (null == _brush_Application_Idle)
{
_brush_Application_Idle = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Idle");
_brush_Application_Idle.Freeze();
}
return _brush_Application_Idle;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Complete = null;
public static SolidColorBrush Brush_ApplicationStatus_Complete
{
get
{
if (null == _brush_ApplicationStatus_Complete)
{
_brush_ApplicationStatus_Complete = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Complete");
_brush_ApplicationStatus_Complete.Freeze();
}
return _brush_ApplicationStatus_Complete;
}
}
private static SolidColorBrush _brush_ApplicationStatus_TSRAIRGo_Complete = null;
public static SolidColorBrush Brush_ApplicationStatus_TSRAIRGo_Complete
{
get
{
if (null == _brush_ApplicationStatus_TSRAIRGo_Complete)
{
_brush_ApplicationStatus_TSRAIRGo_Complete = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_TSRAIRGo_Complete");
_brush_ApplicationStatus_TSRAIRGo_Complete.Freeze();
}
return _brush_ApplicationStatus_TSRAIRGo_Complete;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Idle = null;
public static SolidColorBrush Brush_ApplicationStatus_Idle
{
get
{
if (null == _brush_ApplicationStatus_Idle)
{
_brush_ApplicationStatus_Idle = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Idle");
_brush_ApplicationStatus_Idle.Freeze();
}
return _brush_ApplicationStatus_Idle;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Busy = null;
public static SolidColorBrush Brush_ApplicationStatus_Busy
{
get
{
if (null == _brush_ApplicationStatus_Busy)
{
_brush_ApplicationStatus_Busy = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Busy");
_brush_ApplicationStatus_Busy.Freeze();
}
return _brush_ApplicationStatus_Busy;
}
}
private static SolidColorBrush _brush_ApplicationStatus_TSRAIRGo_Busy = null;
public static SolidColorBrush Brush_ApplicationStatus_TSRAIRGo_Busy
{
get
{
if (null == _brush_ApplicationStatus_TSRAIRGo_Busy)
{
_brush_ApplicationStatus_TSRAIRGo_Busy = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_TSRAIRGo_Busy");
_brush_ApplicationStatus_TSRAIRGo_Busy.Freeze();
}
return _brush_ApplicationStatus_TSRAIRGo_Busy;
}
}
private static SolidColorBrush _brush_Run_SensorIdNotFound = null;
public static SolidColorBrush Brush_Run_SensorIdNotFound
{
get
{
if (null == _brush_Run_SensorIdNotFound)
{
_brush_Run_SensorIdNotFound =
(SolidColorBrush)Application.Current.FindResource("Brush_Run_SensorIdNotFound");
_brush_Run_SensorIdNotFound.Freeze();
}
return _brush_Run_SensorIdNotFound;
}
}
private static SolidColorBrush _brush_Run_SensorIdOutOfPlace;
public static SolidColorBrush Brush_Run_SensorIdOutOfPlace
{
get
{
if (null == _brush_Run_SensorIdOutOfPlace)
{
_brush_Run_SensorIdOutOfPlace =
(SolidColorBrush)Application.Current.FindResource("Brush_Run_SensorIdOutOfPlace");
_brush_Run_SensorIdOutOfPlace.Freeze();
}
return _brush_Run_SensorIdOutOfPlace;
}
}
private static SolidColorBrush _brush_Table_AlternatingRowBackground = null;
public static SolidColorBrush Brush_Table_AlternatingRowBackground
{
get
{
if (null == _brush_Table_AlternatingRowBackground)
{
_brush_Table_AlternatingRowBackground = (SolidColorBrush)Application.Current.FindResource("Brush_Table_AlternatingRowBackground");
_brush_Table_AlternatingRowBackground.Freeze();
}
return _brush_Table_AlternatingRowBackground;
}
}
private static SolidColorBrush _brush_Table_RowBackground = null;
public static SolidColorBrush Brush_Table_RowBackground
{
get
{
if (null == _brush_Table_RowBackground)
{
_brush_Table_RowBackground = (SolidColorBrush)Application.Current.FindResource("Brush_Table_RowBackground");
_brush_Table_RowBackground.Freeze();
}
return _brush_Table_RowBackground;
}
}
private static Brush _brush_FlatControlPressedBackground = null;
public static Brush Brush_FlatControlPressedBackground
{
get
{
if (null == _brush_FlatControlPressedBackground)
{
_brush_FlatControlPressedBackground = (Brush)Application.Current.FindResource("Brush_FlatControlPressedBackground");
_brush_FlatControlPressedBackground.Freeze();
}
return _brush_FlatControlPressedBackground;
}
}
private static Brush _brush_FlatControlPressedForeground = null;
public static Brush Brush_FlatControlPressedForeground
{
get
{
if (null == _brush_FlatControlPressedForeground)
{
_brush_FlatControlPressedForeground = (Brush)Application.Current.FindResource("Brush_FlatControlPressedForeground");
_brush_FlatControlPressedForeground.Freeze();
}
return _brush_FlatControlPressedForeground;
}
}
private static Brush _brushTransparent = null;
public static Brush Brush_Transparent
{
get
{
if (null == _brushTransparent)
{
_brushTransparent = new SolidColorBrush(Colors.Transparent);
_brushTransparent.Freeze();
}
return _brushTransparent;
}
}
private static Brush _brush_NoError = null;
public static Brush Brush_NoError
{
get
{
if (null == _brush_NoError)
{
if (_resourceDictionary == null) { _resourceDictionary = new ResourceDictionary { Source = new Uri("/DTS.Common;component/Themes/brushes.xaml", UriKind.RelativeOrAbsolute) }; }
_brush_NoError = (SolidColorBrush)_resourceDictionary["Brush_NoError"];
_brush_NoError.Freeze();
}
return _brush_NoError;
}
}
private static SolidColorBrush _brushError = null;
public static SolidColorBrush Brush_Error
{
get
{
if (null != _brushError) return _brushError;
if (_resourceDictionary == null)
{
_resourceDictionary = new ResourceDictionary { Source = new Uri("/DTS.Common;component/Themes/brushes.xaml", UriKind.RelativeOrAbsolute) };
}
_brushError = (SolidColorBrush)_resourceDictionary["Brush_Error"];
_brushError.Freeze();
return _brushError;
}
}
private static readonly SolidColorBrush _brushWarning = null;
public static SolidColorBrush Brush_Warning
{
get
{
if (null != _brushWarning) return _brushWarning;
if (_resourceDictionary == null)
{
_resourceDictionary = new ResourceDictionary { Source = new Uri("/DTS.Common;component/Themes/brushes.xaml", UriKind.RelativeOrAbsolute) };
}
_brushError = (SolidColorBrush)_resourceDictionary["Brush_Warning"];
_brushError.Freeze();
return _brushError;
}
}
private static SolidColorBrush _brushAttention = null;
public static SolidColorBrush Brush_Attention
{
get
{
if (null != _brushAttention) return _brushAttention;
if (_resourceDictionary == null)
{
_resourceDictionary = new ResourceDictionary { Source = new Uri("/DTS.Common;component/Themes/brushes.xaml", UriKind.RelativeOrAbsolute) };
}
_brushAttention = (SolidColorBrush)_resourceDictionary["Brush_Attention"];
_brushAttention.Freeze();
return _brushAttention;
}
}
private static Brush _brushFlatControlDisabledForeground = null;
public static Brush Brush_FlatControlDisabledForeground
{
get
{
if (null != _brushFlatControlDisabledForeground) return _brushFlatControlDisabledForeground;
_brushFlatControlDisabledForeground = (Brush)Application.Current.FindResource("Brush_FlatControlDisabledForeground");
if (_brushFlatControlDisabledForeground != null) { _brushFlatControlDisabledForeground.Freeze(); }
return _brushFlatControlDisabledForeground;
}
}
private static Brush _brush_ApplicationContentForeground = null;
public static Brush Brush_ApplicationContentForeground
{
get
{
if (null == _brush_ApplicationContentForeground)
{
_brush_ApplicationContentForeground = (Brush)Application.Current.FindResource("Brush_ApplicationContentForeground");
if (_brush_ApplicationContentForeground != null) _brush_ApplicationContentForeground.Freeze();
}
return _brush_ApplicationContentForeground;
}
}
private static Brush _brush_FlatControlDisbledBackground = null;
public static Brush Brush_FlatControlDisabledBackground
{
get
{
if (null == _brush_FlatControlDisbledBackground)
{
_brush_FlatControlDisbledBackground = (Brush)Application.Current.FindResource("Brush_FlatControlDisabledBackground");
if (_brush_FlatControlDisbledBackground != null) _brush_FlatControlDisbledBackground.Freeze();
}
return _brush_FlatControlDisbledBackground;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Waiting = null;
public static SolidColorBrush Brush_ApplicationStatus_Waiting
{
get
{
if (null != _brush_ApplicationStatus_Waiting) return _brush_ApplicationStatus_Waiting;
_brush_ApplicationStatus_Waiting = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Waiting");
if (_brush_ApplicationStatus_Waiting != null) _brush_ApplicationStatus_Waiting.Freeze();
return _brush_ApplicationStatus_Waiting;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Failed_ActionBackground = null;
public static SolidColorBrush Brush_ApplicationStatus_Failed_ActionBackground
{
get
{
if (null != _brush_ApplicationStatus_Failed_ActionBackground) return _brush_ApplicationStatus_Failed_ActionBackground;
_brush_ApplicationStatus_Failed_ActionBackground = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Failed_ActionBackground");
if (_brush_ApplicationStatus_Failed_ActionBackground != null)
_brush_ApplicationStatus_Failed_ActionBackground.Freeze();
return _brush_ApplicationStatus_Failed_ActionBackground;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Complete_ActionBackground = null;
public static SolidColorBrush Brush_ApplicationStatus_Complete_ActionBackground
{
get
{
if (null != _brush_ApplicationStatus_Complete_ActionBackground) return _brush_ApplicationStatus_Complete_ActionBackground;
_brush_ApplicationStatus_Complete_ActionBackground = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatus_Complete_ActionBackground");
if (_brush_ApplicationStatus_Complete_ActionBackground != null) { _brush_ApplicationStatus_Complete_ActionBackground.Freeze(); }
return _brush_ApplicationStatus_Complete_ActionBackground;
}
}
private static SolidColorBrush _brush_ApplicationStatus_Failed_SystemProcess = null;
public static SolidColorBrush Brush_ApplicationStatus_Failed_SystemProcess
{
get
{
if (null != _brush_ApplicationStatus_Failed_SystemProcess) return _brush_ApplicationStatus_Failed_SystemProcess;
_brush_ApplicationStatus_Failed_SystemProcess = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStauts_Failed_SystemProcess");
if (_brush_ApplicationStatus_Failed_SystemProcess != null) { _brush_ApplicationStatus_Failed_SystemProcess.Freeze(); }
return _brush_ApplicationStatus_Failed_SystemProcess;
}
}
private static SolidColorBrush _brush_ApplicationFooterBackground = null;
public static SolidColorBrush Brush_ApplicationFooterBackground
{
get
{
if (null != _brush_ApplicationFooterBackground) return _brush_ApplicationFooterBackground;
_brush_ApplicationFooterBackground = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationFooterBackground");
if (_brush_ApplicationFooterBackground != null) { _brush_ApplicationFooterBackground.Freeze(); }
return _brush_ApplicationFooterBackground;
}
}
private static SolidColorBrush _brush_ApplicationLicensingFooterBackground = null;
public static SolidColorBrush Brush_ApplicationLicensingFooterBackground
{
get
{
if (null == _brush_ApplicationLicensingFooterBackground)
{
_brush_ApplicationLicensingFooterBackground = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationLicensingFooterBackground");
if (_brush_ApplicationLicensingFooterBackground != null) { _brush_ApplicationLicensingFooterBackground.Freeze(); }
}
return _brush_ApplicationLicensingFooterBackground;
}
}
private static Brush _Brush_Realtime_OSC_SELECTED = null;
public static Brush Brush_Realtime_OSC_SELECTED
{
get
{
if (null == _Brush_Realtime_OSC_SELECTED)
{
_Brush_Realtime_OSC_SELECTED = (Brush)Application.Current.FindResource("Brush_Realtime_OSC_SELECTED");
_Brush_Realtime_OSC_SELECTED.Freeze();
}
return _Brush_Realtime_OSC_SELECTED;
}
}
private static Brush _Brush_Realtime_OSC_UNSELECTED = null;
public static Brush Brush_Realtime_OSC_UNSELECTED
{
get
{
if (null == _Brush_Realtime_OSC_UNSELECTED)
{
_Brush_Realtime_OSC_UNSELECTED = (Brush)Application.Current.FindResource("Brush_Realtime_OSC_UNSELECTED");
_Brush_Realtime_OSC_UNSELECTED.Freeze();
}
return _Brush_Realtime_OSC_UNSELECTED;
}
}
private static Brush _Brush_Realtime_METER_SELECTED = null;
public static Brush Brush_Realtime_METER_SELECTED
{
get
{
if (null == _Brush_Realtime_METER_SELECTED)
{
_Brush_Realtime_METER_SELECTED = (Brush)Application.Current.FindResource("Brush_Realtime_METER_SELECTED");
_Brush_Realtime_METER_SELECTED.Freeze();
}
return _Brush_Realtime_METER_SELECTED;
}
}
private static Brush _Brush_Realtime_METER_UNSELECTED = null;
public static Brush Brush_Realtime_METER_UNSELECTED
{
get
{
if (null == _Brush_Realtime_METER_UNSELECTED)
{
_Brush_Realtime_METER_UNSELECTED = (Brush)Application.Current.FindResource("Brush_Realtime_METER_UNSELECTED");
_Brush_Realtime_METER_UNSELECTED.Freeze();
}
return _Brush_Realtime_METER_UNSELECTED;
}
}
private static SolidColorBrush _Brush_SensorIdFound = null;
public static SolidColorBrush Brush_SensorIdFound
{
get
{
if (null == _Brush_SensorIdFound)
{
_Brush_SensorIdFound = (SolidColorBrush)Application.Current.FindResource("Brush_SensorIdFound");
_Brush_SensorIdFound.Freeze();
}
return _Brush_SensorIdFound;
}
}
private static SolidColorBrush _Brush_ArmSystemForeground = null;
public static SolidColorBrush Brush_ArmSystemForeground
{
get
{
if (null == _Brush_ArmSystemForeground)
{
_Brush_ArmSystemForeground = (SolidColorBrush)Application.Current.FindResource("Brush_ArmSystemForeground");
_Brush_ArmSystemForeground.Freeze();
}
return _Brush_ArmSystemForeground;
}
}
private static SolidColorBrush _Brush_ApplicationTilePrepare;
public static SolidColorBrush Brush_ApplicationTilePrepare
{
get
{
if (null == _Brush_ApplicationTilePrepare)
{
_Brush_ApplicationTilePrepare = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationTilePrepare");
_Brush_ApplicationTilePrepare.Freeze();
}
return _Brush_ApplicationTilePrepare;
}
}
private static SolidColorBrush _Brush_ApplicationTileSetup;
public static SolidColorBrush Brush_ApplicationTileSetup
{
get
{
if (null == _Brush_ApplicationTileSetup)
{
_Brush_ApplicationTileSetup = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationTileSetup");
_Brush_ApplicationTileSetup.Freeze();
}
return _Brush_ApplicationTileSetup;
}
}
private static SolidColorBrush _brushApplicationStatusPowerRed;
public static SolidColorBrush BrushApplicationStatusPowerRed
{
get
{
if (null == _brushApplicationStatusPowerRed)
{
_brushApplicationStatusPowerRed = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatusPowerRed");
if (_brushApplicationStatusPowerRed != null) _brushApplicationStatusPowerRed.Freeze();
}
return _brushApplicationStatusPowerRed;
}
}
private static SolidColorBrush _brushApplicationStatusPowerYellow;
public static SolidColorBrush BrushApplicationStatusPowerYellow
{
get
{
if (null == _brushApplicationStatusPowerYellow)
{
_brushApplicationStatusPowerYellow = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatusPowerYellow");
if (_brushApplicationStatusPowerYellow != null) _brushApplicationStatusPowerYellow.Freeze();
}
return _brushApplicationStatusPowerYellow;
}
}
private static SolidColorBrush _brushApplicationStatusPowerGreen;
public static SolidColorBrush BrushApplicationStatusPowerGreen
{
get
{
if (null == _brushApplicationStatusPowerGreen)
{
_brushApplicationStatusPowerGreen = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatusPowerGreen");
if (_brushApplicationStatusPowerGreen != null) _brushApplicationStatusPowerGreen.Freeze();
}
return _brushApplicationStatusPowerGreen;
}
}
private static SolidColorBrush _brushFlatControlDarkForeground;
public static SolidColorBrush BrushFlatControlDarkForeground
{
get
{
if (null == _brushFlatControlDarkForeground)
{
_brushFlatControlDarkForeground = (SolidColorBrush)Application.Current.FindResource("Brush_FlatControlDarkForeground");
if (_brushFlatControlDarkForeground != null) _brushFlatControlDarkForeground.Freeze();
}
return _brushFlatControlDarkForeground;
}
}
private static SolidColorBrush _brushButtonBorderForeground;
public static SolidColorBrush BrushButtonBorderForeground
{
get
{
if (null == _brushButtonBorderForeground)
{
_brushButtonBorderForeground = (SolidColorBrush)Application.Current.FindResource("Brush_ButtonBorderForeground");
if (_brushButtonBorderForeground != null) _brushButtonBorderForeground.Freeze();
}
return _brushButtonBorderForeground;
}
}
private static SolidColorBrush _BrushApplicationStatusPowerClear;
public static SolidColorBrush BrushApplicationStatusPowerClear
{
get
{
if (null == _BrushApplicationStatusPowerClear)
{
_BrushApplicationStatusPowerClear = (SolidColorBrush)Application.Current.FindResource("Brush_ApplicationStatusPowerClear");
if (_BrushApplicationStatusPowerClear != null) _BrushApplicationStatusPowerClear.Freeze();
}
return _BrushApplicationStatusPowerClear;
}
}
public static Color Color_ActionBackground => (Color)Application.Current.FindResource("Color_ActionBackground");
public static Color Color_ApplicationTileCollectData => (Color)Application.Current.FindResource("Color_ApplicationTileCollectData");
public static Color Color_ItemBackground => (Color)Application.Current.FindResource("Color_ItemBackground");
public static Color Color_ActionForeground => (Color)Application.Current.FindResource("Color_ActionForeground");
public static Color Color_ItemForeground => (Color)Application.Current.FindResource("Color_ItemForeground");
public static Color Color_ApplicationTileSetup => (Color)Application.Current.FindResource("Color_ApplicationTileSetup");
public static Color Color_ApplicationTilePrepare => (Color)Application.Current.FindResource("Color_ApplicationTilePrepare");
public static Color Color_ApplicationTileCalibration => (Color)Application.Current.FindResource("Color_ApplicationTileCalibration");
public static Color Color_ApplicationTileExport => (Color)Application.Current.FindResource("Color_ApplicationTileExport");
public static Color Color_ApplicationTileAdmin => (Color)Application.Current.FindResource("Color_ApplicationTileAdmin");
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,19 @@
using DTS.Common.Events;
using Prism.Ioc;
using Prism.Events;
namespace DTS.Common
{
public partial class CommonStyles
{
public void ToolTipEventHandler(object sender, System.Windows.Controls.ToolTipEventArgs e)
{
e.Handled = true;
var eventAggregator = ContainerLocator.Container.Resolve<IEventAggregator>();
eventAggregator.GetEvent<HelpTextEvent>().Publish(new HelpTextEventArg()
{ Sender = sender, E = e });
}
}
}

View File

@@ -0,0 +1,304 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Colors -->
<Color x:Key="Color_DTSBlue" A="#FF" R="#00" G="#72" B="#C6" />
<Color x:Key="Color_DTSGray" A="#FF" R="#96" G="#93" B="#8E" />
<Color x:Key="Color_DTS_MarketingBackgroundGray" A="#FF" R="#6F" G="#6F" B="#6F" />
<Color x:Key="Color_DTS_MarketingLoginGray" A="#FF" R="#4B" G="#4B" B="#4B" />
<Color x:Key="Color_LightChartForeground" A="#FF" R="#00" G="#00" B="#00" ScA="1"/>
<Color x:Key="Color_LightChartBackground" A="#FF" R="#FF" G="#FF" B="#FF"/>
<Color x:Key="Color_DarkChartForeground" A="#FF" R="#FF" G="#FF" B="#FF"/>
<Color x:Key="Color_DarkChartBackground" A="#FF" R="#2C" G="#2C" B="#2C"/>
<Color x:Key="Color_ItemBackground" A="#FF" R="#F0" G="#F0" B="#F0" />
<Color x:Key="Color_ItemForeground" A="#FF" R="#00" G="#00" B="#00" />
<Color x:Key="Color_ActionBackground" A="#FF" R="#40" G="#A2" B="#F6" />
<Color x:Key="Color_ActionForeground" A="#FF" R="#FF" G="#FF" B="#FF" />
<Color x:Key="Color_ApplicationTileCalibration" A="#FF" R="#FF" G="#d7" B="#00" />
<Color x:Key="Color_ApplicationTileCollectData" A="#FF" R="#6F" G="#B1" B="#35" />
<Color x:Key="Color_ApplicationTilePrepare" A="#FF" R="#25" G="#82" B="#d3" />
<Color x:Key="Color_ApplicationTileSetup" A="#FF" R="#F7" G="#4B" B="#08" />
<Color x:Key="Color_ApplicationTileExport" A="#FF" R="#a4" G="#3a" B="#e3" />
<Color x:Key="Color_ApplicationTileAdmin" A="#FF" R="#d6" G="#8a" B="#3a" />
<Color x:Key="Color_ApplicationStatusGreen" A="#FF" R="#7E" G="#FB" B="#6A"/>
<Color x:Key="Color_ApplicationStatusRed" A="#FF" R="#FF" G="#B6" B="#C1"/>
<Color x:Key="Color_ApplicationStatusYellow" A="#FF" R="#FF" G="#FF" B="#88"/>
<Color x:Key="Color_ApplicationStatusClear" A="#FF" R="#CF" G="#CF" B="#CF"/>
<!-- Brushes -->
<SolidColorBrush x:Key="Brush_Error" Color="Red"/>
<SolidColorBrush x:Key="Brush_Warning" Color="LightSalmon" />
<SolidColorBrush x:Key="Brush_Amber" Color="#FFFFBF00" />
<SolidColorBrush x:Key="Brush_Attention" Color="Yellow" />
<SolidColorBrush x:Key="Brush_ApplicationTitleBarBackground" Color="#FF4F4F4F"/>
<SolidColorBrush x:Key="Brush_ApplicationTitleBarForeground" Color="White"/>
<SolidColorBrush x:Key="Brush_ApplicationFooterBackground" Color="#FF4F4F4F" />
<SolidColorBrush x:Key="Brush_ApplicationLicensingFooterBackground" Color="Silver" />
<SolidColorBrush x:Key="Brush_ApplicationFooterForeground" Color="White" />
<SolidColorBrush x:Key="Brush_ApplicationHeaderBackground" Color="#FFAAAAAA" />
<SolidColorBrush x:Key="Brush_ApplicationSelectedBackground" Color="{StaticResource Color_ActionBackground}"/>
<!--<SolidColorBrush x:Key="Brush_ApplicationFooterBackground" Color="{StaticResource Color_DTSBlue}" />-->
<LinearGradientBrush x:Key="Brush_DTSBlue_Fade" StartPoint="0,0" EndPoint="1,0">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#000072C6" Offset="0.0"/>
<GradientStop Color="{StaticResource Color_DTSBlue}" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<SolidColorBrush x:Key="Brush_DTSBlue" Color="{StaticResource Color_DTSBlue}" />
<SolidColorBrush x:Key="Brush_ItemBackground" Color="{StaticResource Color_ItemBackground}" />
<SolidColorBrush x:Key="Brush_ItemForeground" Color="{StaticResource Color_ItemForeground}" />
<SolidColorBrush x:Key="Brush_SensorIdFound" Color="#FFE3FBE1" />
<SolidColorBrush x:Key="Brush_ApplicationLoginBackground" Color="#48000000" />
<SolidColorBrush x:Key="Brush_ApplicationLoginForeground" Color="White" />
<SolidColorBrush x:Key="Brush_ApplicationTileCalibration" Color="{StaticResource Color_ApplicationTileCalibration}" />
<SolidColorBrush x:Key="Brush_ApplicationTileSetup" Color="{StaticResource Color_ApplicationTileSetup}" />
<SolidColorBrush x:Key="Brush_ApplicationTileExport" Color="{StaticResource Color_ApplicationTileExport}" />
<SolidColorBrush x:Key="Brush_ApplicationTileCollectData" Color="{StaticResource Color_ApplicationTileCollectData}" />
<SolidColorBrush x:Key="Brush_ApplicationTilePrepare" Color="{StaticResource Color_ApplicationTilePrepare}" />
<SolidColorBrush x:Key="Brush_ApplicationBackground" Color="{StaticResource Color_DTS_MarketingBackgroundGray}" />
<SolidColorBrush x:Key="Brush_ArmSystemBackgroundLight" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_ArmSystemBackgroundDark" Color="#FF000000" />
<SolidColorBrush x:Key="Brush_ArmSystemForeground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="Brush_StatusRibbonErrorBackgroundLight" Color="Red"/>
<SolidColorBrush x:Key="Brush_StatusRibbonErrorBackgroundDark" Color="Black"/>
<SolidColorBrush x:Key="Brush_ApplicationPointerOverForeground" Color="#AAAAAA"/>
<SolidColorBrush x:Key="Brush_ApplicationPressedForeground" Color="#FF5AB7E3"/>
<SolidColorBrush x:Key="Brush_ApplicationContentForeground" Color="#FF000000" />
<SolidColorBrush x:Key="Brush_ApplicationContentBackground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="Brush_ApplicationContentGroupBorder" Color="Black" />
<SolidColorBrush x:Key="Brush_ModalBackground" Color="White" />
<SolidColorBrush x:Key="Brush_ButtonDisabledForeground" Color="#66000000" />
<SolidColorBrush x:Key="Brush_ChartForeground" Color="{StaticResource Color_LightChartForeground}" />
<SolidColorBrush x:Key="Brush_ChartBackground" Color="{StaticResource Color_LightChartBackground}" />
<SolidColorBrush x:Key="Brush_ChartZoomBackground" Color="#11000000" />
<SolidColorBrush x:Key="Brush_RealtimeChartBackground" Color="White" />
<SolidColorBrush x:Key="Brush_RealtimeChartForeground" Color="Gray" />
<SolidColorBrush x:Key="Brush_RealtimeChartMeterBackground" Color="#222"/>
<SolidColorBrush x:Key="Brush_RealtimeChartMeterForeground" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Busy" Color="{StaticResource Color_ApplicationStatusYellow}" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Complete" Color="{StaticResource Color_ApplicationStatusGreen}" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Failed" Color="{StaticResource Color_ApplicationStatusRed}" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Idle" Color="{StaticResource Color_ApplicationStatusClear}" />
<SolidColorBrush x:Key="Brush_Dimmed_TextForeground" Color="#FF777777" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Waiting" Color="#FFC7DBEC" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Complete_ActionBackground" Color="DarkGreen" />
<SolidColorBrush x:Key="Brush_ApplicationStatus_Failed_ActionBackground" Color="Maroon" />
<SolidColorBrush x:Key="Brush_ApplicationStauts_Failed_SystemProcess" Color="Red" />
<SolidColorBrush x:Key="Brush_Table_RowBackground" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="Brush_Table_AlternatingRowBackground" Color="#FFF3F6F9" />
<SolidColorBrush x:Key="Brush_ActionGroup_Partition" Color="#FFF" />
<LinearGradientBrush x:Key="Brush_DropShadow_Bottom" StartPoint="0,0" EndPoint="0,1">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#00000000" Offset="0.0"/>
<GradientStop Color="#99000000" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="Brush_DropShadow_Top" StartPoint="0,1" EndPoint="0,0">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#00000000" Offset="0.0"/>
<GradientStop Color="#99000000" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="Brush_DropShadow_Left" StartPoint="1,0" EndPoint="0,0">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#00000000" Offset="0.0"/>
<GradientStop Color="#99000000" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="Brush_DropShadow_Right" StartPoint="0,0" EndPoint="1,0">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#00000000" Offset="0.0"/>
<GradientStop Color="#99000000" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="Brush_ActionGroup Partition" StartPoint="0,0" EndPoint="0,1">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#00FFFFFF" Offset="0.0"/>
<GradientStop Color="#66FFFFFF" Offset="0.33"/>
<GradientStop Color="#66FFFFFF" Offset="0.66"/>
<GradientStop Color="#00FFFFFF" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<SolidColorBrush x:Key="Brush_PageContentForeground" Color="#FFE4E4E4" />
<SolidColorBrush x:Key="Brush_PageContentBackground" Color="Transparent" />
<SolidColorBrush x:Key="Brush_PageContentForegroundMouseOver" Color="White" />
<SolidColorBrush x:Key="Brush_PageContentBackgroundMouseOver" Color="#22000000" />
<SolidColorBrush x:Key="Brush_PageContentForegroundPressed" Color="White" />
<SolidColorBrush x:Key="Brush_PageContentBackgroundPressed" Color="#88000000" />
<SolidColorBrush x:Key="Brush_PageContentForegroundDisabled" Color="#FF343434" />
<SolidColorBrush x:Key="Brush_PageContentBackgroundDisabled" Color="#00000000" />
<SolidColorBrush x:Key="Brush_NoError" Color="Black" />
<SolidColorBrush x:Key="Brush_FlatControlForeground" Color="#FF202020" />
<SolidColorBrush x:Key="Brush_FlatControlBackground" Color="#FFBBBBBB" />
<SolidColorBrush x:Key="Brush_FlatControlDisabledForeground" Color="#BB000000" />
<SolidColorBrush x:Key="Brush_FlatControlDisabledBackground" Color="#10000000" />
<SolidColorBrush x:Key="Brush_FlatControlBorder" Color="#AAA" />
<SolidColorBrush x:Key="Brush_FlatControlWindowBackground" Color="#FFCFCFCF" /><!--Color="{DynamicResource {x:Static SystemColors.ControlLightColorKey}}" />-->
<SolidColorBrush x:Key="Brush_FlatControlSelectedBackground" Color="#55000000" />
<SolidColorBrush x:Key="Brush_FlatControlSelectedForeground" Color="White" />
<SolidColorBrush x:Key="Brush_FlatControlPressedBackground" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_FlatControlPressedForeground" Color="White" />
<SolidColorBrush x:Key="Brush_FlatControlMouseOverBackground" Color="#FFD6D6D6" />
<SolidColorBrush x:Key="Brush_FlatControlMouseOverForeground" Color="#FF363636" />
<SolidColorBrush x:Key="Brush_ButtonBorderForeground" Color="#5A5A5A" />
<SolidColorBrush x:Key="Brush_FlatControlDarkForeground" Color="#FF333333" />
<SolidColorBrush x:Key="Brush_FlatControlDarkBackground" Color="#30000000" />
<SolidColorBrush x:Key="Brush_FlatControlDarkForegroundPressed" Color="White" />
<SolidColorBrush x:Key="Brush_FlatControlDarkBackgroundPressed" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_FlatControlDarkForegroundDisabled" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_FlatControlDarkBackgroundDisabled" Color="#FFEEEEEE" />
<SolidColorBrush x:Key="Brush_FlatControlDarkForegroundMouseOver" Color="#FF333333" />
<SolidColorBrush x:Key="Brush_FlatControlDarkBackgroundMouseOver" Color="#50000000" />
<SolidColorBrush x:Key="Brush_NavStepForeground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepBackground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepSelectedForeground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepSelectedBackground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepDisabledForeground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepDisabledBackground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepMouseOverForeground" Color="#FFA6A6A6" />
<SolidColorBrush x:Key="Brush_NavStepMouseOverBackground" Color="#FFF0F0F0" />
<SolidColorBrush x:Key="SolidBorderBrush" Color="#888" />
<SolidColorBrush x:Key="GlyphBrush" Color="#444" />
<SolidColorBrush x:Key="Brush_ActionElementBackground" Color="#22FFFFFF" />
<SolidColorBrush x:Key="Brush_ActionElementForeground" Color="#FFF" />
<SolidColorBrush x:Key="Brush_ActionElementBackgroundMouseOver" Color="#FFC7C7C7" />
<SolidColorBrush x:Key="Brush_ActionElementForegroundMouseOver" Color="#000000" />
<SolidColorBrush x:Key="Brush_ActionElementBackgroundSelected" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_ActionElementForegroundSelected" Color="White" />
<SolidColorBrush x:Key="Brush_ActionElementBackgroundPressed" Color="#FF979797" />
<SolidColorBrush x:Key="Brush_ActionElementForegroundPressed" Color="Black" />
<SolidColorBrush x:Key="Brush_ActionElementBackgroundDisabled" Color="#FF7A7A7A" />
<SolidColorBrush x:Key="Brush_ActionElementForegroundDisabled" Color="#FF4F4F4F" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctBackground" Color="#FF6AA280" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctForeground" Color="White" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctBackgroundMouseOver" Color="#FF9EDAB9" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctForegroundMouseOver" Color="White" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctBackgroundSelected" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctForegroundSelected" Color="White" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctBackgroundPressed" Color="#FF5C876D" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctForegroundPressed" Color="White" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctBackgroundDisabled" Color="#FF386147" />
<SolidColorBrush x:Key="Brush_ActionElementDistinctForegroundDisabled" Color="Black" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Light_Ellipse" Color="#DDD" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Light_Foreground" Color="#DDD" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Light_Ellipse_MouseOver" Color="#FFF" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Light_Foreground_MouseOver" Color="#FFF" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Light_Ellipse_Pressed" Color="#AAA" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Light_Foreground_Pressed" Color="#AAA" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Dark_Ellipse" Color="#000" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Dark_Foreground" Color="#000" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Dark_Ellipse_MouseOver" Color="#666" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Dark_Foreground_MouseOver" Color="#666" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Dark_Ellipse_Pressed" Color="#CCC" />
<SolidColorBrush x:Key="Brush_Application_NavButton_Dark_Foreground_Pressed" Color="#CCC" />
<SolidColorBrush x:Key="Brush_Realtime_OSC_UNSELECTED" Color="Transparent" />
<SolidColorBrush x:Key="Brush_Realtime_OSC_SELECTED" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_Realtime_METER_UNSELECTED" Color="Transparent" />
<SolidColorBrush x:Key="Brush_Realtime_METER_SELECTED" Color="{StaticResource Color_ActionBackground}" />
<SolidColorBrush x:Key="Brush_Realtime_SINGLE_CH_SELECTED" Color="Transparent" />
<SolidColorBrush x:Key="Brush_FlatControlSliderTrackBackground" Color="#666"/>
<!-- Border Brushes -->
<LinearGradientBrush x:Key="NormalBorderBrush" StartPoint="0,0" EndPoint="0,1">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#CCC" Offset="0.0"/>
<GradientStop Color="#444" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="HorizontalNormalBorderBrush" StartPoint="0,0" EndPoint="1,0">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#CCC" Offset="0.0"/>
<GradientStop Color="#444" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="DefaultedBorderBrush" StartPoint="0,0" EndPoint="0,1">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#777" Offset="0.0"/>
<GradientStop Color="#000" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="PressedBorderBrush" StartPoint="0,0" EndPoint="0,1">
<GradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#444" Offset="0.0"/>
<GradientStop Color="#888" Offset="1.0"/>
</GradientStopCollection>
</GradientBrush.GradientStops>
</LinearGradientBrush>
<SolidColorBrush x:Key="Brush_ApplicationStatusPowerRed" Color="{StaticResource Color_ApplicationStatusRed}" />
<SolidColorBrush x:Key="Brush_ApplicationStatusPowerYellow" Color="{StaticResource Color_ApplicationStatusYellow}" />
<SolidColorBrush x:Key="Brush_ApplicationStatusPowerGreen" Color="{StaticResource Color_ApplicationStatusGreen}" />
<SolidColorBrush x:Key="Brush_ApplicationStatusPowerClear" Color="{StaticResource Color_ApplicationStatusClear}" />
</ResourceDictionary>