Bloom.Registration.RegistrationDialog.SaveAndSendIfPossible C# (CSharp) Method

SaveAndSendIfPossible() private method

private SaveAndSendIfPossible ( ) : void
return void
        private void SaveAndSendIfPossible()
        {
            SIL.Windows.Forms.Registration.Registration.Default.FirstName = _firstName.Text;
            SIL.Windows.Forms.Registration.Registration.Default.Surname = _surname.Text;
            SIL.Windows.Forms.Registration.Registration.Default.Organization = _organization.Text;
            SIL.Windows.Forms.Registration.Registration.Default.Email = _email.Text;
            SIL.Windows.Forms.Registration.Registration.Default.HowUsing = _howAreYouUsing.Text;
            SIL.Windows.Forms.Registration.Registration.Default.Save();
            try
            {
                DesktopAnalytics.Analytics.IdentifyUpdate(GetAnalyticsUserInfo());

                if (!_hadEmailAlready && !string.IsNullOrWhiteSpace(SIL.Windows.Forms.Registration.Registration.Default.Email))
                {
                    DesktopAnalytics.Analytics.Track("Register");
                }

            }
            catch (Exception)
            {
                #if DEBUG	//else, it's not polite to complain
                                throw;
                #endif
            }
        }