コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

            if (FirstNameTextField != null)
            {
                FirstNameTextField.Dispose();
                FirstNameTextField = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LastNameTextField != null)
            {
                LastNameTextField.Dispose();
                LastNameTextField = null;
            }

            if (NextButton != null)
            {
                NextButton.Dispose();
                NextButton = null;
            }
        }
コード例 #2
0
ファイル: UserProfileView.cs プロジェクト: vmtvv/FlexiMvvm
        protected override void SetupLayoutConstraints()
        {
            base.SetupLayoutConstraints();
            this.SubviewsDoNotTranslateAutoresizingMaskIntoConstraints();

            this.AddConstraints(
                FirstNameLabel.AtLeftOf(this, Theme.Dimensions.Inset2x),
                FirstNameLabel.AtTopOfSafeArea(this, Theme.Dimensions.Inset2x),
                FirstNameLabel.AtRightOf(this, Theme.Dimensions.Inset2x),
                FirstNameLabel.Height().EqualTo(Theme.Dimensions.LabelBodyHeight));
            this.AddConstraints(
                FirstName.AtLeftOf(this, Theme.Dimensions.Inset3x),
                FirstName.Below(FirstNameLabel, Theme.Dimensions.Inset1x),
                FirstName.AtRightOf(this, Theme.Dimensions.Inset2x),
                FirstName.Height().EqualTo(Theme.Dimensions.TextFieldRegularHeight));

            this.AddConstraints(
                LastNameLabel.AtLeftOf(this, Theme.Dimensions.Inset2x),
                LastNameLabel.Below(FirstName, Theme.Dimensions.Inset1x),
                LastNameLabel.AtRightOf(this, Theme.Dimensions.Inset2x),
                LastNameLabel.Height().EqualTo(Theme.Dimensions.LabelBodyHeight));
            this.AddConstraints(
                LastName.AtLeftOf(this, Theme.Dimensions.Inset3x),
                LastName.Below(LastNameLabel, Theme.Dimensions.Inset1x),
                LastName.AtRightOf(this, Theme.Dimensions.Inset2x),
                LastName.Height().EqualTo(Theme.Dimensions.TextFieldRegularHeight));

            this.AddConstraints(
                EmailLabel.AtLeftOf(this, Theme.Dimensions.Inset2x),
                EmailLabel.Below(LastName, Theme.Dimensions.Inset1x),
                EmailLabel.AtRightOf(this, Theme.Dimensions.Inset2x),
                EmailLabel.Height().EqualTo(Theme.Dimensions.LabelBodyHeight));
            this.AddConstraints(
                Email.AtLeftOf(this, Theme.Dimensions.Inset3x),
                Email.Below(EmailLabel, Theme.Dimensions.Inset1x),
                Email.AtRightOf(this, Theme.Dimensions.Inset2x),
                Email.Height().EqualTo(Theme.Dimensions.TextFieldRegularHeight));

            this.AddConstraints(
                LanguageLabel.AtLeftOf(this, Theme.Dimensions.Inset2x),
                LanguageLabel.Below(Email, Theme.Dimensions.Inset1x),
                LanguageLabel.AtRightOf(this, Theme.Dimensions.Inset2x),
                LanguageLabel.Height().EqualTo(Theme.Dimensions.LabelBodyHeight));
            this.AddConstraints(
                LanguageSelected.AtLeftOf(this, Theme.Dimensions.Inset3x),
                LanguageSelected.Below(LanguageLabel, Theme.Dimensions.Inset1x),
                LanguageSelected.Height().EqualTo(Theme.Dimensions.TextFieldRegularHeight));
            this.AddConstraints(
                SelectLanguageButton.Width().EqualTo(80),
                SelectLanguageButton.Below(LanguageLabel, Theme.Dimensions.Inset2x),
                SelectLanguageButton.AtRightOf(this, Theme.Dimensions.Inset2x),
                SelectLanguageButton.Height().EqualTo(Theme.Dimensions.ButtonRegularHeight));

            this.AddConstraints(
                SaveButton.Width().EqualTo(80),
                SaveButton.Below(SelectLanguageButton, Theme.Dimensions.Inset6x),
                SaveButton.AtRightOf(this, Theme.Dimensions.Inset2x),
                SaveButton.Height().EqualTo(Theme.Dimensions.ButtonRegularHeight));
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (ApiResponseLabel != null)
            {
                ApiResponseLabel.Dispose();
                ApiResponseLabel = null;
            }

            if (EmailLabel != null)
            {
                EmailLabel.Dispose();
                EmailLabel = null;
            }

            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

            if (IsConnectedLabel != null)
            {
                IsConnectedLabel.Dispose();
                IsConnectedLabel = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LoginButton != null)
            {
                LoginButton.Dispose();
                LoginButton = null;
            }

            if (LogoutButton != null)
            {
                LogoutButton.Dispose();
                LogoutButton = null;
            }

            if (QueryApiButton != null)
            {
                QueryApiButton.Dispose();
                QueryApiButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (FirstnameLabel != null)
            {
                FirstnameLabel.Dispose();
                FirstnameLabel = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (PhonenumberLabel != null)
            {
                PhonenumberLabel.Dispose();
                PhonenumberLabel = null;
            }
        }
コード例 #5
0
        void ReleaseDesignerOutlets()
        {
            if (EmailProfileTableCell != null)
            {
                EmailProfileTableCell.Dispose();
                EmailProfileTableCell = null;
            }

            if (FirstNameProfileLabel != null)
            {
                FirstNameProfileLabel.Dispose();
                FirstNameProfileLabel = null;
            }

            if (FirstNameTableCell != null)
            {
                FirstNameTableCell.Dispose();
                FirstNameTableCell = null;
            }

            if (GenderProfileTableCell != null)
            {
                GenderProfileTableCell.Dispose();
                GenderProfileTableCell = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LastNameTableCell != null)
            {
                LastNameTableCell.Dispose();
                LastNameTableCell = null;
            }
        }
コード例 #6
0
ファイル: Form1.cs プロジェクト: Essisten/Sign-In
 private void RegistrationButton_Click(object sender, EventArgs e)
 {
     if (registration)
     {
         LastNameTextBox.Hide();
         EmailTextBox.Hide();
         label1.Text     = "Вход";
         LoginLabel.Text = "Логин";
         LastNameLabel.Hide();
         EmailLabel.Hide();
         GenderLabel.Hide();
         GenderComboBox.Hide();
         BirthDateLabel.Hide();
         BirthDateTimePicker.Hide();
         LoginButton.Text        = "Войти";
         RegistrationButton.Text = "Регистрация";
         RobotCheckBox.Text      = "Я не робот";
         registration            = false;
     }
     else
     {
         LastNameTextBox.Show();
         EmailTextBox.Show();
         label1.Text     = "Регистрация";
         LoginLabel.Text = "Имя";
         LastNameLabel.Show();
         EmailLabel.Show();
         GenderLabel.Show();
         GenderComboBox.Show();
         BirthDateLabel.Show();
         BirthDateTimePicker.Show();
         LoginButton.Text        = "Создать";
         RegistrationButton.Text = "Авторизация";
         RobotCheckBox.Text      = "Принимаю условия\nсоглашения и т.д.";
         registration            = true;
     }
 }
コード例 #7
0
        void ReleaseDesignerOutlets()
        {
            if (AddressLine12StackView != null)
            {
                AddressLine12StackView.Dispose();
                AddressLine12StackView = null;
            }

            if (AddressLine1TextField != null)
            {
                AddressLine1TextField.Dispose();
                AddressLine1TextField = null;
            }

            if (AddressLine2TextField != null)
            {
                AddressLine2TextField.Dispose();
                AddressLine2TextField = null;
            }

            if (AddressSameAsBuyerLabel != null)
            {
                AddressSameAsBuyerLabel.Dispose();
                AddressSameAsBuyerLabel = null;
            }

            if (AddressSameAsBuyerStackView != null)
            {
                AddressSameAsBuyerStackView.Dispose();
                AddressSameAsBuyerStackView = null;
            }

            if (AddressSameAsBuyerSwitch != null)
            {
                AddressSameAsBuyerSwitch.Dispose();
                AddressSameAsBuyerSwitch = null;
            }

            if (AliasTextField != null)
            {
                AliasTextField.Dispose();
                AliasTextField = null;
            }

            if (CityStateCountryStackView != null)
            {
                CityStateCountryStackView.Dispose();
                CityStateCountryStackView = null;
            }

            if (CityTextField != null)
            {
                CityTextField.Dispose();
                CityTextField = null;
            }

            if (CountryTextField != null)
            {
                CountryTextField.Dispose();
                CountryTextField = null;
            }

            if (CountyLabel != null)
            {
                CountyLabel.Dispose();
                CountyLabel = null;
            }

            if (CountyTextField != null)
            {
                CountyTextField.Dispose();
                CountyTextField = null;
            }

            if (CountyZipStackView != null)
            {
                CountyZipStackView.Dispose();
                CountyZipStackView = null;
            }

            if (EmailErrorLabel != null)
            {
                EmailErrorLabel.Dispose();
                EmailErrorLabel = null;
            }

            if (EmailLabel != null)
            {
                EmailLabel.Dispose();
                EmailLabel = null;
            }

            if (EmailTextField != null)
            {
                EmailTextField.Dispose();
                EmailTextField = null;
            }

            if (FirstNameErrorLabel != null)
            {
                FirstNameErrorLabel.Dispose();
                FirstNameErrorLabel = null;
            }

            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

            if (FirstNameTextField != null)
            {
                FirstNameTextField.Dispose();
                FirstNameTextField = null;
            }

            if (HomePhoneEmailStackView != null)
            {
                HomePhoneEmailStackView.Dispose();
                HomePhoneEmailStackView = null;
            }

            if (HomePhoneErrorLabel != null)
            {
                HomePhoneErrorLabel.Dispose();
                HomePhoneErrorLabel = null;
            }

            if (HomePhoneLabel != null)
            {
                HomePhoneLabel.Dispose();
                HomePhoneLabel = null;
            }

            if (HomePhoneTextField != null)
            {
                HomePhoneTextField.Dispose();
                HomePhoneTextField = null;
            }

            if (LastNameErrorLabel != null)
            {
                LastNameErrorLabel.Dispose();
                LastNameErrorLabel = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LastNameTextField != null)
            {
                LastNameTextField.Dispose();
                LastNameTextField = null;
            }

            if (MiddleLastStackView != null)
            {
                MiddleLastStackView.Dispose();
                MiddleLastStackView = null;
            }

            if (MiddleNameTextField != null)
            {
                MiddleNameTextField.Dispose();
                MiddleNameTextField = null;
            }

            if (MobilePhoneErrorLabel != null)
            {
                MobilePhoneErrorLabel.Dispose();
                MobilePhoneErrorLabel = null;
            }

            if (MobilePhoneLabel != null)
            {
                MobilePhoneLabel.Dispose();
                MobilePhoneLabel = null;
            }

            if (MobilePhoneTextField != null)
            {
                MobilePhoneTextField.Dispose();
                MobilePhoneTextField = null;
            }

            if (MobileWorkPhoneStackView != null)
            {
                MobileWorkPhoneStackView.Dispose();
                MobileWorkPhoneStackView = null;
            }

            if (PrefixFirstStackView != null)
            {
                PrefixFirstStackView.Dispose();
                PrefixFirstStackView = null;
            }

            if (PrefixTextField != null)
            {
                PrefixTextField.Dispose();
                PrefixTextField = null;
            }

            if (StateCountryLabel != null)
            {
                StateCountryLabel.Dispose();
                StateCountryLabel = null;
            }

            if (StateTextField != null)
            {
                StateTextField.Dispose();
                StateTextField = null;
            }

            if (SuffixAliasStackView != null)
            {
                SuffixAliasStackView.Dispose();
                SuffixAliasStackView = null;
            }

            if (SuffixTextField != null)
            {
                SuffixTextField.Dispose();
                SuffixTextField = null;
            }

            if (ValidationErrorLabel != null)
            {
                ValidationErrorLabel.Dispose();
                ValidationErrorLabel = null;
            }

            if (WorkExtensionTextField != null)
            {
                WorkExtensionTextField.Dispose();
                WorkExtensionTextField = null;
            }

            if (WorkPhoneErrorLabel != null)
            {
                WorkPhoneErrorLabel.Dispose();
                WorkPhoneErrorLabel = null;
            }

            if (WorkPhoneLabel != null)
            {
                WorkPhoneLabel.Dispose();
                WorkPhoneLabel = null;
            }

            if (WorkPhoneTextField != null)
            {
                WorkPhoneTextField.Dispose();
                WorkPhoneTextField = null;
            }

            if (ZipCodeTextField != null)
            {
                ZipCodeTextField.Dispose();
                ZipCodeTextField = null;
            }
        }
コード例 #8
0
        void ReleaseDesignerOutlets()
        {
            if (AboutButton != null)
            {
                AboutButton.Dispose();
                AboutButton = null;
            }

            if (btnPickerView != null)
            {
                btnPickerView.Dispose();
                btnPickerView = null;
            }

            if (CountryCodeLabel != null)
            {
                CountryCodeLabel.Dispose();
                CountryCodeLabel = null;
            }

            if (CountryCodeTextField != null)
            {
                CountryCodeTextField.Dispose();
                CountryCodeTextField = null;
            }

            if (CreditsFreeLabel != null)
            {
                CreditsFreeLabel.Dispose();
                CreditsFreeLabel = null;
            }

            if (CreditsUserLabel != null)
            {
                CreditsUserLabel.Dispose();
                CreditsUserLabel = null;
            }

            if (CustomViewScroll != null)
            {
                CustomViewScroll.Dispose();
                CustomViewScroll = null;
            }

            if (EmailTextField != null)
            {
                EmailTextField.Dispose();
                EmailTextField = null;
            }

            if (EmailTitleLabel != null)
            {
                EmailTitleLabel.Dispose();
                EmailTitleLabel = null;
            }

            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

            if (FirstNameTextField != null)
            {
                FirstNameTextField.Dispose();
                FirstNameTextField = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LastNameTextField != null)
            {
                LastNameTextField.Dispose();
                LastNameTextField = null;
            }

            if (LogOutButton != null)
            {
                LogOutButton.Dispose();
                LogOutButton = null;
            }

            if (MaxSizeEmailID != null)
            {
                MaxSizeEmailID.Dispose();
                MaxSizeEmailID = null;
            }

            if (MaxSizeFirstName != null)
            {
                MaxSizeFirstName.Dispose();
                MaxSizeFirstName = null;
            }

            if (MaxSizeName != null)
            {
                MaxSizeName.Dispose();
                MaxSizeName = null;
            }

            if (ModifyUserImageButton != null)
            {
                ModifyUserImageButton.Dispose();
                ModifyUserImageButton = null;
            }

            if (PhoneNumberLabel != null)
            {
                PhoneNumberLabel.Dispose();
                PhoneNumberLabel = null;
            }

            if (PhoneNumberTextField != null)
            {
                PhoneNumberTextField.Dispose();
                PhoneNumberTextField = null;
            }

            if (SaveButton != null)
            {
                SaveButton.Dispose();
                SaveButton = null;
            }

            if (ScrollView != null)
            {
                ScrollView.Dispose();
                ScrollView = null;
            }

            if (UpdatePasswordButton != null)
            {
                UpdatePasswordButton.Dispose();
                UpdatePasswordButton = null;
            }

            if (UserImageView != null)
            {
                UserImageView.Dispose();
                UserImageView = null;
            }
        }
コード例 #9
0
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

            if (FirstNameText != null)
            {
                FirstNameText.Dispose();
                FirstNameText = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LastNameText != null)
            {
                LastNameText.Dispose();
                LastNameText = null;
            }

            if (PasswordLabel != null)
            {
                PasswordLabel.Dispose();
                PasswordLabel = null;
            }

            if (PasswordText != null)
            {
                PasswordText.Dispose();
                PasswordText = null;
            }

            if (StatusMessageLabel != null)
            {
                StatusMessageLabel.Dispose();
                StatusMessageLabel = null;
            }

            if (SubmitButton != null)
            {
                SubmitButton.Dispose();
                SubmitButton = null;
            }

            if (UserInputContainerView != null)
            {
                UserInputContainerView.Dispose();
                UserInputContainerView = null;
            }
        }
コード例 #10
0
        void ReleaseDesignerOutlets()
        {
            if (AddressLine12StackView != null)
            {
                AddressLine12StackView.Dispose();
                AddressLine12StackView = null;
            }

            if (AddressLine1TextField != null)
            {
                AddressLine1TextField.Dispose();
                AddressLine1TextField = null;
            }

            if (AddressLine2TextField != null)
            {
                AddressLine2TextField.Dispose();
                AddressLine2TextField = null;
            }

            if (AliasTextField != null)
            {
                AliasTextField.Dispose();
                AliasTextField = null;
            }

            if (CityStateCountryStackView != null)
            {
                CityStateCountryStackView.Dispose();
                CityStateCountryStackView = null;
            }

            if (CityTextField != null)
            {
                CityTextField.Dispose();
                CityTextField = null;
            }

            if (ConsentEmailMailStackView != null)
            {
                ConsentEmailMailStackView.Dispose();
                ConsentEmailMailStackView = null;
            }

            if (ConsentEmailSwitch != null)
            {
                ConsentEmailSwitch.Dispose();
                ConsentEmailSwitch = null;
            }

            if (ConsentMailSwitch != null)
            {
                ConsentMailSwitch.Dispose();
                ConsentMailSwitch = null;
            }

            if (ConsentPhoneContactPrefStackView != null)
            {
                ConsentPhoneContactPrefStackView.Dispose();
                ConsentPhoneContactPrefStackView = null;
            }

            if (ConsentPhoneSwitch != null)
            {
                ConsentPhoneSwitch.Dispose();
                ConsentPhoneSwitch = null;
            }

            if (ConsentTextSwitch != null)
            {
                ConsentTextSwitch.Dispose();
                ConsentTextSwitch = null;
            }

            if (ContactPreferenceTextField != null)
            {
                ContactPreferenceTextField.Dispose();
                ContactPreferenceTextField = null;
            }

            if (CountryTextField != null)
            {
                CountryTextField.Dispose();
                CountryTextField = null;
            }

            if (CountyLabel != null)
            {
                CountyLabel.Dispose();
                CountyLabel = null;
            }

            if (CountyTextField != null)
            {
                CountyTextField.Dispose();
                CountyTextField = null;
            }

            if (CountyZipStackView != null)
            {
                CountyZipStackView.Dispose();
                CountyZipStackView = null;
            }

            if (EmailErrorLabel != null)
            {
                EmailErrorLabel.Dispose();
                EmailErrorLabel = null;
            }

            if (EmailTextField != null)
            {
                EmailTextField.Dispose();
                EmailTextField = null;
            }

            if (ExcludeFollowUpSwitch != null)
            {
                ExcludeFollowUpSwitch.Dispose();
                ExcludeFollowUpSwitch = null;
            }

            if (ExcludeReasonTextField != null)
            {
                ExcludeReasonTextField.Dispose();
                ExcludeReasonTextField = null;
            }

            if (ExcludeStackView != null)
            {
                ExcludeStackView.Dispose();
                ExcludeStackView = null;
            }

            if (FirstNameErrorLabel != null)
            {
                FirstNameErrorLabel.Dispose();
                FirstNameErrorLabel = null;
            }

            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

            if (FirstNameTextField != null)
            {
                FirstNameTextField.Dispose();
                FirstNameTextField = null;
            }

            if (HomePhoneEmailStackView != null)
            {
                HomePhoneEmailStackView.Dispose();
                HomePhoneEmailStackView = null;
            }

            if (HomePhoneErrorLabel != null)
            {
                HomePhoneErrorLabel.Dispose();
                HomePhoneErrorLabel = null;
            }

            if (HomePhoneTextField != null)
            {
                HomePhoneTextField.Dispose();
                HomePhoneTextField = null;
            }

            if (LastNameErrorLabel != null)
            {
                LastNameErrorLabel.Dispose();
                LastNameErrorLabel = null;
            }

            if (LastNameLabel != null)
            {
                LastNameLabel.Dispose();
                LastNameLabel = null;
            }

            if (LastNameTextField != null)
            {
                LastNameTextField.Dispose();
                LastNameTextField = null;
            }

            if (MiddleLastStackView != null)
            {
                MiddleLastStackView.Dispose();
                MiddleLastStackView = null;
            }

            if (MiddleNameTextField != null)
            {
                MiddleNameTextField.Dispose();
                MiddleNameTextField = null;
            }

            if (MobilePhoneErrorLabel != null)
            {
                MobilePhoneErrorLabel.Dispose();
                MobilePhoneErrorLabel = null;
            }

            if (MobilePhoneTextField != null)
            {
                MobilePhoneTextField.Dispose();
                MobilePhoneTextField = null;
            }

            if (MobileWorkPhoneStackView != null)
            {
                MobileWorkPhoneStackView.Dispose();
                MobileWorkPhoneStackView = null;
            }

            if (PrefixFirstStackView != null)
            {
                PrefixFirstStackView.Dispose();
                PrefixFirstStackView = null;
            }

            if (PrefixTextField != null)
            {
                PrefixTextField.Dispose();
                PrefixTextField = null;
            }

            if (StateCountryLabel != null)
            {
                StateCountryLabel.Dispose();
                StateCountryLabel = null;
            }

            if (StateTextField != null)
            {
                StateTextField.Dispose();
                StateTextField = null;
            }

            if (SuffixAliasStackView != null)
            {
                SuffixAliasStackView.Dispose();
                SuffixAliasStackView = null;
            }

            if (SuffixTextField != null)
            {
                SuffixTextField.Dispose();
                SuffixTextField = null;
            }

            if (TrafficDetailTextField != null)
            {
                TrafficDetailTextField.Dispose();
                TrafficDetailTextField = null;
            }

            if (TrafficSourceDetailError != null)
            {
                TrafficSourceDetailError.Dispose();
                TrafficSourceDetailError = null;
            }

            if (TrafficSourceDetailLabel != null)
            {
                TrafficSourceDetailLabel.Dispose();
                TrafficSourceDetailLabel = null;
            }

            if (TrafficSourceLabel != null)
            {
                TrafficSourceLabel.Dispose();
                TrafficSourceLabel = null;
            }

            if (TrafficSourceTextField != null)
            {
                TrafficSourceTextField.Dispose();
                TrafficSourceTextField = null;
            }

            if (TrafficStackView != null)
            {
                TrafficStackView.Dispose();
                TrafficStackView = null;
            }

            if (ValidationErrorsLabel != null)
            {
                ValidationErrorsLabel.Dispose();
                ValidationErrorsLabel = null;
            }

            if (WorkExtentionTextField != null)
            {
                WorkExtentionTextField.Dispose();
                WorkExtentionTextField = null;
            }

            if (WorkPhoneErrorLabel != null)
            {
                WorkPhoneErrorLabel.Dispose();
                WorkPhoneErrorLabel = null;
            }

            if (WorkPhoneTextField != null)
            {
                WorkPhoneTextField.Dispose();
                WorkPhoneTextField = null;
            }

            if (ZipTextField != null)
            {
                ZipTextField.Dispose();
                ZipTextField = null;
            }
        }