📄 advpanel.cs
字号:
namespace Imps.Client.Pc
{
using System;
using System.Windows.Forms;
public class AdvPanel : ElementPanel
{
public Panel _panel;
public AdvPanel(Panel panel)
{
base.HandleMouse = false;
this._panel = panel;
}
public override void OnSizeChanged(int w, int h)
{
base.OnSizeChanged(w, h);
this._panel.Location = base._location;
this._panel.Size = base._size;
if (this._size.IsEmpty)
{
this._panel.Visible = false;
}
else
{
this._panel.Visible = this.Visible;
}
}
public bool Visible
{
get
{
return base.Visible;
}
set
{
base.Visible = value;
this._panel.Visible = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -