Ejemplo n.º 1
0
        /// <summary>
        /// Raises the <see cref="E:System.Web.UI.Control.PreRender"/> event.
        /// </summary>
        /// <param name="e">An <see cref="T:System.EventArgs"/> object that contains the event data.</param>
        protected override void OnPreRender([NotNull] EventArgs e)
        {
            if (this.Signature.IsSet())
            {
                var sig = new MessageSignature
                {
                    Signature     = this.Signature,
                    DisplayUserId = this.DisplayUserID,
                    MessageId     = this.MessageID
                };

                this.Controls.Add(sig);
            }

            base.OnPreRender(e);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Raises the <see cref="E:System.Web.UI.Control.PreRender"/> event.
        /// </summary>
        /// <param name="e">An <see cref="T:System.EventArgs"/> object that contains the event data.</param>
        protected override void OnPreRender([NotNull] EventArgs e)
        {
            if (this.Signature.IsSet())
            {
                var sig = new MessageSignature
                    {
                        Signature = this.Signature,
                        DisplayUserID = this.DisplayUserID,
                        MessageID = this.MessageID,
                        IsAlt = this.IsAlt,
                        ColSpan = this.RowColSpan
                    };

                this.Controls.Add(sig);
            }

            base.OnPreRender(e);
        }