protected virtual void OnSubmit(LoginFormSubmitEventArgs e)
        {
            var submitEventDelegate = (EventHandler)Events[SubmitEvent];

            if (submitEventDelegate != null)
            {
                submitEventDelegate(this, e);
            }
        }
 protected virtual void OnSubmit(LoginFormSubmitEventArgs e)
 {
     var submitEventDelegate = (EventHandler)Events[SubmitEvent];
     if (submitEventDelegate != null)
         submitEventDelegate(this, e);
 }