コード例 #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;
            }
        }
コード例 #2
0
ファイル: PopUp.designer.cs プロジェクト: MesutFi/Buptis_iOS
        void ReleaseDesignerOutlets()
        {
            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

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

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

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

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

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

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
コード例 #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;
            }
        }
コード例 #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;
            }
        }