Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (BoxContentLabelTwo != null)
            {
                BoxContentLabelTwo.Dispose();
                BoxContentLabelTwo = null;
            }

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

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

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

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

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

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

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

            if (ToStartPageBtn != null)
            {
                ToStartPageBtn.Dispose();
                ToStartPageBtn = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (switchButton != null)
            {
                switchButton.Dispose();
                switchButton = null;
            }
        }
Exemplo n.º 3
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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