コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

            if (UserName != null)
            {
                UserName.Dispose();
                UserName = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (About != null)
            {
                About.Dispose();
                About = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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