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

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

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

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

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

            if (WindSpeedLabel != null)
            {
                WindSpeedLabel.Dispose();
                WindSpeedLabel = null;
            }
        }
Ejemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityIndicator != null)
            {
                ActivityIndicator.Dispose();
                ActivityIndicator = null;
            }

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

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

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

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

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

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

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

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

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

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

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