RaUI/Source/ryControls/Gdu.WinFormUI/GMControls/ProgressBar/GMProgessBarThemeBase.cs
如果当时 34a3ef3ed9 ### 2021-02-22更新
------
#### ryControls    V2.1.2102.2201
*.[新增]新加入Gdu.WinformUI控件。
2021-02-22 21:42:59 +08:00

52 lines
1.5 KiB
C#

using System;
using System.Drawing;
//忽略没有注释警告
#pragma warning disable 1591
namespace MGdu.WinFormUI
{
public class GMProgessBarThemeBase : IDisposable
{
public Color BackColor { get; set; }
public Color BorderColor { get; set; }
public Color InnerBorderColor { get; set; }
public Color CoveredColor { get; set; }
public Color LeadingEdgeColor { get; set; }
public bool DrawInnerBorder { get; set; }
public bool DrawLeadingEdge { get; set; }
public bool DrawBackColorGlass { get; set; }
public bool DrawCoveredColorGlass { get; set; }
public int BorderRadius { get; set; }
public Color ForeColor { get; set; }
public Font ForeFont { get; set; }
public GMProgessBarThemeBase()
{
BackColor = Color.White;
InnerBorderColor = Color.White;
BorderColor = Color.FromArgb(171, 171, 171);
CoveredColor = Color.FromArgb(0, 114, 198);
DrawInnerBorder = true;
DrawLeadingEdge = false;
DrawBackColorGlass = false;
DrawCoveredColorGlass = false;
BorderRadius = 0;
ForeColor = Color.Black;
ForeFont = new Font("微软雅黑", 9);
}
#region IDisposable
public void Dispose()
{
if (ForeFont != null && !ForeFont.IsSystemFont)
ForeFont.Dispose();
}
#endregion
}
}