gtabpagecollection.cs
来自「语音视频功能 里面实现了基本的QQ与语音对话」· CS 代码 · 共 35 行
CS
35 行
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;using System.ComponentModel.Design;using System.Drawing.Design;
using System.Runtime.InteropServices;using System.Drawing.Drawing2D;
namespace gowk.controls
{
public class GTabPageColllectionEditor: CollectionEditor
{
public GTabPageColllectionEditor(System.Type type)
: base(type)
{
}
protected override System.Object CreateInstance(System.Type itemType)
{
if(itemType==typeof(gowk.controls.GTabPage))
{
gowk.controls.GTabPage x = (gowk.controls.GTabPage)base.CreateInstance(itemType);
x.Text+=System.DateTime.Now.ToString();
return x;
}
else
{
return base.CreateInstance(itemType);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?