LookupComboBox.cs
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:2k
- // -- FILE ------------------------------------------------------------------
- // name : LookupComboBoxLookupComboBox.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;
- using System.Web.UI.WebControls;
- namespace Itenso.WebUserForms.Controls
- {
- #if (LOOKUP_FIELDS && TP_COMBO_FIELDS)
- // ------------------------------------------------------------------------
- [DefaultProperty( "FieldName" )]
- [Designer( typeof( LookupFieldDesigner ) )]
- [ToolboxBitmap( typeof( ResFinder ), "Itenso.WebUserForms.Controls.Images.LookupComboBox.png" )]
- public class LookupComboBox : ComboBox, ILookupField, IPlaceholderControl
- {
- // ----------------------------------------------------------------------
- public LookupComboBox()
- {
- } // LookupComboBox
- // ----------------------------------------------------------------------
- [DefaultValue( "" )]
- [Description( "LookupComboBox Form Field Lookup Name" )]
- [Category( "Web User Forms" )]
- public string LookupName
- {
- get { return this.lookupName; }
- set { this.lookupName = value; }
- } // LookupName
- // ----------------------------------------------------------------------
- [Browsable( false )]
- Control IPlaceholderControl.Control
- {
- get { return this; }
- } // IPlaceholderControl.Control
- // ----------------------------------------------------------------------
- // members
- private string lookupName;
- } // class LookupComboBox
- #endif // LOOKUP_FIELDS && TP_COMBO_FIELDS
- } // namespace Itenso.WebUserForms.Controls
- // -- EOF -------------------------------------------------------------------