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

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

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

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (email != null)
            {
                email.Dispose();
                email = null;
            }

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

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

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

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

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

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

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