大尾巴狼

所谓大尾巴狼,就是装腔作势。

自定义控件继承树

FlowGroupEditField_ascx
-UserControl
--TemplateControl
---Control
----Object

    void Page_Load(object sender, EventArgs e)
    
{
        
string c = "";
        Type t 
= this.GetType();
        
for (int i = 0; i < 20; i++)
        
{
            Response.Write(
"<br>" + c + t.Name);
            c 
+= "-";
            t 
= t.BaseType;
            
if (t == nullbreak;
        }

        
    }

posted on 2005-01-21 17:05 大尾巴狼 阅读(555) 评论(0) 编辑 收藏

导航

统计

公告