⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wroxtab.cs

📁 ASP.NET服务器控件高级编程电子书
💻 CS
字号:
using System;
using System.Windows.Forms.Design;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;

namespace WroxDesign.Design
{
	public class WroxTab : PropertyTab
	{
		public WroxTab()
		{
		}

		public override Bitmap Bitmap
		{
			get
			{
				return base.Bitmap;
			}
		}

		public override string TabName
		{
			get { return "Wrox Tab"; }
		}

		public override bool CanExtend(object extendee)
		{
			if (extendee is WroxButton) return true;
			return false;
		}

		public override PropertyDescriptorCollection GetProperties(object component)
		{
			return TypeDescriptor.GetProperties(component);
			//return null;
		}
		public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes)
		{
			return TypeDescriptor.GetProperties(component, attributes);
			//return null;
		}
		public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object component, Attribute[] attributes)
		{
			return TypeDescriptor.GetProperties(component, attributes);
			//return null;
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -