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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (DownloadableSgmntdBtn != null)
            {
                DownloadableSgmntdBtn.Dispose();
                DownloadableSgmntdBtn = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (LoadingErrorImg != null)
            {
                LoadingErrorImg.Dispose();
                LoadingErrorImg = null;
            }

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

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

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

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

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

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

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

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

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