📄 windowsusersetting.cs
字号:
namespace Imps.Client.Core
{
using System;
using System.Xml;
public class WindowsUserSetting : PropertyDictionary
{
private bool _autoStart = true;
private Imps.Client.Core.NetworkSetting _networkSetting = Imps.Client.Core.NetworkSetting.Instance;
internal T GetPropertyValue<T>(string propertyKey)
{
return base.InnerGetPropertyValue<T>(propertyKey);
}
internal T GetPropertyValue<T>(string propertyKey, T defaultValue)
{
return base.InnerGetPropertyValue<T>(propertyKey, defaultValue);
}
public void LoadWndXml(XmlNode xmlNode)
{
}
internal void setPropertyValue<T>(string propertyKey, T objValue)
{
base.InnerSetPropertyValue<T>(propertyKey, objValue);
}
public string ToWndXml()
{
return string.Format("<AutoStart>{0}</AutoStart>", this.AutoStart);
}
[ConfigCategory(ConfigCategory.LocalWindowsAccount)]
public bool AutoStart
{
get
{
return this._autoStart;
}
set
{
this._autoStart = value;
}
}
public Imps.Client.Core.NetworkSetting NetworkSetting
{
get
{
return this._networkSetting;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -