private System.Collections.ArrayList list;
[System.ComponentModel.Category("someCategory")]
public System.Collections.ArrayList List
{
get { return list; }
set { list = value; }
}就这个意思,详细情况看 System.ComponentModel 下的 Attribute 派生类。什么 Designer、Builder,都是对这些方面的支持,里面也有例子。
[System.ComponentModel.Category("someCategory")]
public System.Collections.ArrayList List
{
get { return list; }
set { list = value; }
}就这个意思,详细情况看 System.ComponentModel 下的 Attribute 派生类。什么 Designer、Builder,都是对这些方面的支持,里面也有例子。
解决方案 »
- 求C#主从表结构模块详细解决方案
- C# 求助
- C#绘图,怎么把从另外一台机子上面传过来的图像数据(只有数据),在本机子上面绘制出来?
- 100分求解地磅串口读取 serialport类
- 我刚入公司,有几个初级问题急等解决,得到正解立即结贴
- 怎么在C# Silverlight项目MainPage.xaml.cs中写入文件保存到本地,保存到本地的路径是绝对路径(如保存到C:\aaa.txt),怎么写?
- listbox问题
- 怎么解决 “为将对象引用设置到对象实例”
- 如何将存放在多个字节中的数字取出来?
- 我初学C#,请问在C#中有样VB里的API文本浏览器吗
- 又为一个小问题提供100分~~~大家来赚呀
- 关于Window.open的问题!
http://www.syncfusion.com/FAQ/WinForms/FAQ_c81c.asp#q713qalso see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/custcodegen.asp
现在集合中的对象能产生了,但是我将控件删除后,产生的对象还在
this.contentSerializationExampleControl1 = new DesignerSerializationVisibilityTest.ContentSerializationExampleControl();
this.table1 = new DesignerSerializationVisibilityTest.Table();
this.SuspendLayout();
//
// contentSerializationExampleControl1
//
this.contentSerializationExampleControl1.Dimensions.FormSize = new System.Drawing.Size(150, 150);
this.contentSerializationExampleControl1.Dimensions.Location = new System.Drawing.Point(56, 40);
this.contentSerializationExampleControl1.Location = new System.Drawing.Point(56, 40);
this.contentSerializationExampleControl1.Name = "contentSerializationExampleControl1";
this.contentSerializationExampleControl1.TabIndex = 0;
this.contentSerializationExampleControl1.Tables.AddRange(new DesignerSerializationVisibilityTest.Table[] {
this.table1});
//
// table1
//
this.table1.Location = new System.Drawing.Point(0, 0);
this.table1.Name = "table1";
this.table1.TabIndex = 0;
this.table1.TableName = null;
this.table1.Text = "table1";
删除后:
this.table1 = new DesignerSerializationVisibilityTest.Table();
//
// table1
//
this.table1.Location = new System.Drawing.Point(0, 0);
this.table1.Name = "table1";
this.table1.TabIndex = 0;
this.table1.TableName = null;
this.table1.Text = "table1";
怎样解决此问题?