Button.cs
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:2k
- // -- FILE ------------------------------------------------------------------
- // name : Button.cs
- // project : Itenso Web User Forms
- // created : Jani Giannoudis - 2008.10.30
- // language : c#
- // environment: .NET 2.0
- // copyright : (c) 2008 by Itenso GmbH, Switzerland
- // --------------------------------------------------------------------------
- using System;
- using System.Drawing;
- using System.ComponentModel;
- using System.Web.UI.WebControls;
- namespace Itenso.WebUserForms.Controls
- {
- // ------------------------------------------------------------------------
- [DefaultProperty( "CommandName" )]
- [Designer( typeof( UserFormCommandDesigner ) )]
- [ToolboxBitmap( typeof( ResFinder ), "Itenso.WebUserForms.Controls.Images.Button.png" )]
- public class Button : System.Web.UI.WebControls.Button, IUserFormCommand
- {
- // ----------------------------------------------------------------------
- [DefaultValue( "" )]
- [Description( "Form Command Name" )]
- [Category( "Web User Forms" )]
- public new string CommandName
- {
- get { return base.CommandName; }
- set { base.CommandName = value; }
- } // CommandName
- // ----------------------------------------------------------------------
- [DefaultValue( "" )]
- [Description( "Form Command Argument" )]
- [Category( "Web User Forms" )]
- public new string CommandArgument
- {
- get { return base.CommandArgument; }
- set { base.CommandArgument = value; }
- } // CommandArgument
- } // class Button
- } // namespace Itenso.WebUserForms.Controls
- // -- EOF -------------------------------------------------------------------