コード例 #1
0
 void ReleaseDesignerOutlets()
 {
     if (AddressLine1TextField != null)
     {
         AddressLine1TextField.Dispose();
         AddressLine1TextField = null;
     }
     if (AddressLine2TextField != null)
     {
         AddressLine2TextField.Dispose();
         AddressLine2TextField = null;
     }
     if (AddressLine3TextField != null)
     {
         AddressLine3TextField.Dispose();
         AddressLine3TextField = null;
     }
     if (AlternatePhoneNumberTextField != null)
     {
         AlternatePhoneNumberTextField.Dispose();
         AlternatePhoneNumberTextField = null;
     }
     if (CityTextField != null)
     {
         CityTextField.Dispose();
         CityTextField = null;
     }
     if (CountryTextField != null)
     {
         CountryTextField.Dispose();
         CountryTextField = null;
     }
     if (PhoneNumberTextField != null)
     {
         PhoneNumberTextField.Dispose();
         PhoneNumberTextField = null;
     }
     if (StateTextField != null)
     {
         StateTextField.Dispose();
         StateTextField = null;
     }
     if (ZipCodeTextField != null)
     {
         ZipCodeTextField.Dispose();
         ZipCodeTextField = null;
     }
 }
コード例 #2
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;
            }
        }
コード例 #3
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;
            }
        }