Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (ArabicButton != null)
            {
                ArabicButton.Dispose();
                ArabicButton = null;
            }

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

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

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

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

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

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

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

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