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

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

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

            if (TeamImageView != null)
            {
                TeamImageView.Dispose();
                TeamImageView = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (EventAttendingLabel != null)
            {
                EventAttendingLabel.Dispose();
                EventAttendingLabel = null;
            }

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

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

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

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

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

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

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

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

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