gtabpage.cs

来自「语音视频功能 里面实现了基本的QQ与语音对话」· CS 代码 · 共 34 行

CS
34
字号
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 + =
减小字号Ctrl + -
显示快捷键?