xsplitcontainerstyle.cs
来自「破解的飞信源代码」· CS 代码 · 共 43 行
CS
43 行
namespace Imps.Client.Pc.XControlStyle
{
using Imps.Client.Pc.Theme;
using System;
using System.Drawing;
using System.Xml;
public class XSplitContainerStyle : StyleBase
{
private Color _BackColor;
protected override void LoadStyle(XmlElement elem)
{
foreach (XmlAttribute attribute in elem.Attributes)
{
string name;
if (((name = attribute.Name) != null) && (name == "BackColor"))
{
this.BackColor = ThemeManager.GetColor(attribute.Value);
}
}
}
protected override void SetDefaultValue()
{
this._BackColor = SystemColors.Control;
}
public Color BackColor
{
get
{
return this._BackColor;
}
set
{
this._BackColor = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?