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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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