You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.5 KiB
48 lines
1.5 KiB
using Syncfusion.Styles;
|
|
using Syncfusion.WinForms.Controls;
|
|
using Syncfusion.WinForms.Controls.Styles;
|
|
using Syncfusion.WinForms.DataGrid.RowFilter;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.RegularExpressions;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Media;
|
|
|
|
namespace OnDoc.Klassen
|
|
{
|
|
public static class Theaming
|
|
{
|
|
//public static string FormTitleColor = "77,79,83";
|
|
//public static string FormTitleFont = "Arial 11";
|
|
//public static string FormTitleFontColor = "191,192,195";
|
|
public static string FormTitleColor = "154,155,156";
|
|
public static string FormTitleFont = "Arial 11";
|
|
public static string FormTitleFontColor = "12,12,12";
|
|
private static int r;
|
|
private static int b;
|
|
private static int g;
|
|
public static byte ShadowOpacity = 100;
|
|
public static byte InactivShadowOpacity = 100;
|
|
|
|
public static Color Titelbar()
|
|
{
|
|
return parseColor(FormTitleColor);
|
|
}
|
|
public static Color TitelFontColor()
|
|
{
|
|
return parseColor(FormTitleFontColor);
|
|
//return Color.FromArgb(77, 79, 83);
|
|
}
|
|
|
|
static public Color parseColor(string inputcode)
|
|
{
|
|
string[] colors = inputcode.Split(',');
|
|
return Color.FromArgb(Convert.ToInt32(colors[0]), Convert.ToInt32(colors[1]), Convert.ToInt32(colors[2]));
|
|
}
|
|
}
|
|
}
|