📄 sysconversationsetting.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -