Exemple #1
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;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (AddressLine1Label != null)
            {
                AddressLine1Label.Dispose();
                AddressLine1Label = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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