📄 logoaditem.cs
字号:
namespace Imps.Client.Core
{
using Imps.Utils;
using System;
using System.Xml;
public class LogoAdItem : AdItemBase
{
private int _height;
private string _src;
private int _width;
public override void LoadXmlNode(XmlNode node)
{
this.Source = XmlHelper.ReadXmlAttributeString(node, "src");
this.Width = XmlHelper.ReadXmlAttributeInt32(node, "width", 0);
this.Height = XmlHelper.ReadXmlAttributeInt32(node, "height", 0);
}
public int Height
{
get
{
return this._height;
}
set
{
this._height = value;
}
}
public string Source
{
get
{
return this._src;
}
set
{
this._src = value;
}
}
public int Width
{
get
{
return this._width;
}
set
{
this._width = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -