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

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

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

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

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

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

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

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

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

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

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

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