📄 gtabpage.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Runtime.InteropServices;using System.Drawing.Drawing2D;
namespace gowk.controls
{
public class GTabPage :System.Windows.Forms.Panel
{
GImage _GImage;
public GTabPage()
{
this._GImage=new GImage();
this.SetStyle(ControlStyles.DoubleBuffer|ControlStyles.UserPaint|ControlStyles.AllPaintingInWmPaint,true);
BackColor=Color.Transparent;
this.Dock=DockStyle.Fill;
}
public GImage GImage
{
get{return this._GImage;}
set{this._GImage=value;}
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint (e);
// e.Graphics.DrawString(this.GetHashCode().ToString(),this.Font,new SolidBrush(Color.Red),this.ClientRectangle);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -