sysconversationsetting.cs
来自「破解的飞信源代码」· CS 代码 · 共 89 行
CS
89 行
namespace Imps.Client.Core
{
using System;
using System.Drawing;
public class SysConversationSetting
{
private Imps.Client.Core.SystemSetting _systemSetting;
internal SysConversationSetting(Imps.Client.Core.SystemSetting systemSetting)
{
this._systemSetting = systemSetting;
}
public Font HistoryFont
{
get
{
return new Font("Arial", 11f, FontStyle.Regular);
}
}
public string MaxEmotionPicRect
{
get
{
return this._systemSetting.GetPropertyValue<string>("max-emotion-pic-rect", "200*200");
}
}
public int MaxEmotionPicSize
{
get
{
return this._systemSetting.GetPropertyValue<int>("max-emotion-pic-size", 0xc800);
}
}
public int MaxLengthOneMessage
{
get
{
return this._systemSetting.GetPropertyValue<int>("MaxLengthOneMessage", 400);
}
}
public int MaxLengthOneMessageWithHtmlTag
{
get
{
return this._systemSetting.GetPropertyValue<int>("MaxLengthOneMessageWithHtmlTag", 0x7d0);
}
}
public int MaxParticipations
{
get
{
return this._systemSetting.GetPropertyValue<int>("MaxParticipations", 0x20);
}
}
public string UriCheckEmotion
{
get
{
return this._systemSetting.GetPropertyValue<string>("check-emotion-pic-url", string.Empty);
}
}
public string UriGetEmotion
{
get
{
return this._systemSetting.GetPropertyValue<string>("get-emotion-pic-url", string.Empty);
}
}
public string UriSetEmotion
{
get
{
return this._systemSetting.GetPropertyValue<string>("set-emotion-pic-url", string.Empty);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?