Rock.Web.UI.Controls.RegistrationTemplateFormEditor.gFields_Add C# (CSharp) Method

gFields_Add() protected method

Handles the Add event of the gFields control.
protected gFields_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void
        protected void gFields_Add( object sender, EventArgs e )
        {
            if ( AddFieldClick != null )
            {
                var eventArg = new TemplateFormFieldEventArg( FormGuid, Guid.Empty );
                AddFieldClick( this, eventArg );
            }
        }