20 lines
669 B
C#
20 lines
669 B
C#
using System;
|
|
using System.Collections.Immutable;
|
|
using System.Linq;
|
|
using System.Windows.Media;
|
|
using UCalc.Data;
|
|
|
|
namespace UCalc
|
|
{
|
|
public static class Constants
|
|
{
|
|
public static readonly SolidColorBrush MainColor = Brushes.White;
|
|
public static readonly SolidColorBrush SubMainColor = new SolidColorBrush(Color.FromRgb(0x00, 0x7A, 0xCC));
|
|
|
|
public const string DecimalFormat = ".00";
|
|
public const string DateFormat = "dd.MM.yyyy";
|
|
|
|
public static readonly ImmutableList<string> SalutationStrs =
|
|
((Salutation[]) Enum.GetValues(typeof(Salutation))).Select(value => value.AsString()).ToImmutableList();
|
|
}
|
|
} |