示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (MKMapViewAbout != null)
            {
                MKMapViewAbout.Dispose();
                MKMapViewAbout = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UIViewSocial != null)
            {
                UIViewSocial.Dispose();
                UIViewSocial = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (UIImageViewAction1Business1 != null)
            {
                UIImageViewAction1Business1.Dispose();
                UIImageViewAction1Business1 = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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