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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (RatingButton != null)
            {
                RatingButton.Dispose();
                RatingButton = null;
            }
        }
Beispiel #3
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;
            }
        }