📄 usersetting.cs
字号:
this._owner.Configuration.SaveUserCfg();
return string.Empty;
}
return builder.ToString();
}
public string ToWndUserXml()
{
StringBuilder builder = new StringBuilder();
builder.Append(this.ConversationSetting.ToWndXml());
builder.Append(this.MainWindowSetting.ToWndXml());
builder.Append(this.NetworkSetting.ToWndXml());
builder.Append(this.SoundSetting.ToWndXml());
return builder.ToString();
}
[ConfigCategory(ConfigCategory.User)]
public string[] AutoReplies
{
get
{
return this._autoReplies;
}
set
{
if (value.Length > 5)
{
throw new Exception("The length of the array should 5!");
}
this._autoReplies = value;
}
}
[ConfigCategory(ConfigCategory.User)]
public int CfgVersion
{
get
{
return base.InnerGetPropertyValue<int>("CfgVersion", 0);
}
internal set
{
base.InnerSetPropertyValue<int>("CfgVersion", value);
}
}
public string ColorSetting
{
get
{
return this._colorSetting;
}
set
{
this._colorSetting = value;
}
}
public Imps.Client.Core.ConversationSetting ConversationSetting
{
get
{
if (this._conversationSetting == null)
{
this._conversationSetting = new Imps.Client.Core.ConversationSetting(this._owner);
}
return this._conversationSetting;
}
}
[ConfigCategory(ConfigCategory.User)]
public int CustomerCfgVersion
{
get
{
return base.InnerGetPropertyValue<int>("CustomCfgVerion", 0);
}
internal set
{
base.InnerSetPropertyValue<int>("CustomCfgVerion", value);
}
}
[ConfigCategory(ConfigCategory.User)]
public CustomPresenceCollection CustomPresences
{
get
{
if (this._customPresences == null)
{
this._customPresences = new CustomPresenceCollection();
}
return this._customPresences;
}
}
public bool HiddenBanner
{
get
{
return this._hiddenBanner;
}
set
{
this._hiddenBanner = value;
}
}
public bool HiddenMsgType
{
get
{
return this._hiddenMsgType;
}
set
{
this._hiddenMsgType = value;
}
}
public bool HiddenTab
{
get
{
return this._hiddenTab;
}
set
{
this._hiddenTab = value;
}
}
[ConfigCategory(ConfigCategory.User)]
public bool JoinExprienceInprovement
{
get
{
return false;
}
}
[ConfigCategory(ConfigCategory.User)]
public LongSMSSetting LongSmsSetting
{
get
{
return base.InnerGetPropertyValue<LongSMSSetting>("LongSMSSetting", LongSMSSetting.Disable);
}
set
{
base.InnerSetPropertyValue<LongSMSSetting>("LongSMSSetting", value);
}
}
public Imps.Client.Core.MainWindowSetting MainWindowSetting
{
get
{
return this._mainWindowSetting;
}
}
public Imps.Client.Core.MmsSetting MmsSetting
{
get
{
if (this._mmsSetting == null)
{
this._mmsSetting = new Imps.Client.Core.MmsSetting();
}
return this._mmsSetting;
}
}
[ConfigCategory(ConfigCategory.User)]
public MoodPhraseCollection MoodPhrases
{
get
{
if (this._moodPhrases == null)
{
this._moodPhrases = new MoodPhraseCollection(5);
}
return this._moodPhrases;
}
}
public Imps.Client.Core.NetworkSetting NetworkSetting
{
get
{
return Imps.Client.Core.NetworkSetting.Instance;
}
}
public Imps.Client.Core.NotifyWinodwSetting NotifyWinodwSetting
{
get
{
if (this._tipWinodwSetting == null)
{
this._tipWinodwSetting = new Imps.Client.Core.NotifyWinodwSetting();
}
return this._tipWinodwSetting;
}
}
public bool SaveMyInfo
{
get
{
return this._saveMyInfo;
}
set
{
this._saveMyInfo = value;
}
}
public Imps.Client.Core.SensorSetting SensorSetting
{
get
{
if (this._sensorSetting == null)
{
this._sensorSetting = new Imps.Client.Core.SensorSetting();
}
return this._sensorSetting;
}
}
public Imps.Client.Core.SkinSetting SkinSetting
{
get
{
return this._skinSetting;
}
set
{
this._skinSetting = value;
}
}
public Imps.Client.Core.SoundSetting SoundSetting
{
get
{
if (this._soundSetting == null)
{
this._soundSetting = new Imps.Client.Core.SoundSetting();
}
return this._soundSetting;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -