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

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

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

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

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

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

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

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

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

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

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

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

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

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