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

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

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

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

            if (VencimentoContainerView != null)
            {
                VencimentoContainerView.Dispose();
                VencimentoContainerView = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (DateLabel != null)
            {
                DateLabel.Dispose();
                DateLabel = null;
            }

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

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

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

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

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

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

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

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