📄 xconversationform.cs
字号:
namespace Imps.Client.Pc.BizControls
{
using Imps.Client.Pc;
using System;
using System.Windows.Forms;
public class XConversationForm : FormEx
{
public XConversationForm() : base(true, XFormStyle.Conversation)
{
}
protected override void CreateExtendControl()
{
this.SetPadding();
}
protected override void CreateMaximizedExtendControl()
{
this.SetPadding();
}
protected override void HandleBossKey()
{
base.Visible = !BossKey.Hidden;
if (base.Visible)
{
base.ShowInTaskbar = true;
}
}
protected override void SetPadding()
{
if (base.WindowState == FormWindowState.Maximized)
{
base.set_Padding(new Padding(4, base.TitleHeight + 2, 4, base.HemlineHeight + 2));
}
else
{
base.SetPadding();
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -