打印本文 打印本文 关闭窗口 关闭窗口
创建ASP.NET WEB自定义控件——例程2
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3501  更新时间:2009/4/23 10:43:49  文章录入:mintao  责任编辑:mintao
                   this.txtUserName.Text = value;

              }

         }

//密码属性

         [Bindable(false),

         Category("Appearance"),

         DefaultValue(""), Browsable(false)]

         public string PassWord

         {

              get

              {

                   return this.txtPassWord.Text;

              }

              set

              {

                   this.txtPassWord.Text = value;

              }

         }

//控件宽度属性

         [Bindable(false),

         Category("Appearance"),

         DefaultValue("")]

         public override Unit Width

         {

              get

              {

                   return this.pnlFrame.Width;

              }

              set

              {

                   this.pnlFrame.Width = value;

              }

         }

//控件高度属性

         [Bindable(false),

         Category("Appearance"),

         DefaultValue("")]

         public override Unit Height

         {

              get

              {

                   return this.pnlFrame.Height;

              }

              set

              {

                   this.pnlFrame.Height = value;

              }

         }

//控件边框颜色属性

         [Bindable(false),

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口