/// <summary>
 ///    <para>
 ///       Initializes the designer with the component for design.
 ///    </para>
 /// </summary>
 /// <param name='component'>
 ///    The control element for design.
 /// </param>
 /// <remarks>
 ///    <para>
 ///       This is called by the designer host to establish the component for
 ///       design.
 ///    </para>
 /// </remarks>
 /// <seealso cref='System.ComponentModel.Design.IDesigner'/>
 public override void Initialize(IComponent component)
 {
     Debug.Assert(component is System.Web.UI.MobileControls.Command,
                  "CommandDesigner.Initialize - Invalid Command Control");
     _command = (System.Web.UI.MobileControls.Command) component;
     base.Initialize(component);
 }
示例#2
0
 /// <summary>
 ///    <para>
 ///       Initializes the designer with the component for design.
 ///    </para>
 /// </summary>
 /// <param name='component'>
 ///    The control element for design.
 /// </param>
 /// <remarks>
 ///    <para>
 ///       This is called by the designer host to establish the component for
 ///       design.
 ///    </para>
 /// </remarks>
 /// <seealso cref='System.ComponentModel.Design.IDesigner'/>
 public override void Initialize(IComponent component)
 {
     Debug.Assert(component is System.Web.UI.MobileControls.Command,
                  "CommandDesigner.Initialize - Invalid Command Control");
     _command = (System.Web.UI.MobileControls.Command)component;
     base.Initialize(component);
 }