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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (favoriteButton != null)
            {
                favoriteButton.Dispose();
                favoriteButton = null;
            }
        }
Exemplo n.º 4
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityButton2 != null)
            {
                ActivityButton2.Dispose();
                ActivityButton2 = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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