示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (TutorialTopSeparator != null)
            {
                TutorialTopSeparator.Dispose();
                TutorialTopSeparator = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WomenLabel != null)
            {
                WomenLabel.Dispose();
                WomenLabel = null;
            }
        }
示例#4
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UsernameLabel != null)
            {
                UsernameLabel.Dispose();
                UsernameLabel = null;
            }
        }
示例#5
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (SnackTopConstraint != null)
            {
                SnackTopConstraint.Dispose();
                SnackTopConstraint = null;
            }
        }
示例#9
0
        public async void UploadFile(string fileName, string regsessionid)         //use Task<int> for return value
        {
            ProfilePage.selectedFileStr = null;
            context.imagesUploading     = true;
            string currentText = context.ImagesProgressText.Text;

            StartAnim();

            try
            {
                try
                {
                    string url;
                    if (context.c.IsLoggedIn())
                    {
                        url = Constants.HostName + "?action=uploadtouser&ID=" + Session.ID + "&SessionID=" + Session.SessionID;
                    }
                    else
                    {
                        url = (regsessionid == "") ? Constants.HostName + "?action=uploadtotemp" : Constants.HostName + "?action=uploadtotemp&regsessionid=" + regsessionid;
                    }

                    MultipartFormDataContent form = new MultipartFormDataContent();
                    form.Add(new StreamContent(new MemoryStream(File.ReadAllBytes(fileName))), "file", System.IO.Path.GetFileName(fileName));

                    context.c.CW("UploadFile 1" + fileName);

                    var response = await CommonMethods.client.PostAsync(url, form);

                    context.c.CW("UploadFile 2");

                    string responseString = response.Content.ReadAsStringAsync().Result;

                    if (responseString.Substring(0, 2) == "OK")
                    {
                        responseString = responseString.Substring(3);

                        string[] arr     = responseString.Split(";");
                        string   imgName = arr[0];
                        context.uploadedImages.Add(imgName);
                        if (context.c.IsLoggedIn())
                        {
                            Session.Pictures = context.uploadedImages.ToArray();
                        }
                        else
                        {
                            RegisterActivity.regsessionid = arr[1];
                            if (!File.Exists(BaseActivity.regSessionFile))
                            {
                                File.WriteAllText(BaseActivity.regSessionFile, RegisterActivity.regsessionid);
                            }
                            context.SaveRegData();
                        }
                        context.ImagesUploaded.AddPicture(imgName, context.uploadedImages.Count - 1);
                        context.ImagesUploaded.RefitImagesContainer();
                    }
                    else if (responseString.Substring(0, 6) == "ERROR_")
                    {
                        snack = context.c.SnackIndef(context.Resources.GetIdentifier(responseString.Substring(6), "string", context.PackageName));
                    }
                    else
                    {
                        context.c.ReportError(responseString);
                    }

                    context.ImagesProgress.Progress = 0;
                    if (context.uploadedImages.Count > 1)
                    {
                        context.ImagesProgressText.Text = context.res.GetString(Resource.String.ImagesRearrange);
                    }
                    else
                    {
                        context.ImagesProgressText.Text = "";
                    }

                    //client.UploadFileTaskAsync(url, fileName);
                }
                catch (WebException ex)
                {
                    context.ImagesProgressText.Text = currentText;
                    //Client_UploadFileCompleted is called too which resets the views
                    if (((HttpWebResponse)ex.Response).StatusCode == HttpStatusCode.InternalServerError)
                    {
                        await context.c.ErrorAlert(context.res.GetString(Resource.String.OutOfMemory));
                    }
                    else
                    {
                        context.c.ReportErrorSilent("Upload image error: " + ((HttpWebResponse)ex.Response).StatusCode + " " + ex.Message + System.Environment.NewLine + ex.StackTrace);
                    }
                }
            }
            catch (Exception ex)             //The operation was canceled. Image size limit is between 4.3 and 4.9 MB
            {
                context.ImagesProgressText.Text = currentText;

                if (ex is System.OperationCanceledException)
                {
                    await context.c.ErrorAlert(context.res.GetString(Resource.String.ImageTooLarge));

                    context.c.ReportErrorSilent(ex.Message);
                }
                else
                {
                    context.c.ReportError(ex.Message);
                }
            }

            context.imagesUploading = false;
            StopAnim();
        }
示例#10
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (SnackTopConstraint != null)
            {
                SnackTopConstraint.Dispose();
                SnackTopConstraint = null;
            }
        }
示例#11
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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