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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
Ejemplo n.º 4
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityExplainerLbl != null)
            {
                ActivityExplainerLbl.Dispose();
                ActivityExplainerLbl = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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