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

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

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

            if (_autocompleteTableView != null)
            {
                _autocompleteTableView.Dispose();
                _autocompleteTableView = null;
            }
        }
示例#2
0
 void ReleaseDesignerOutlets()
 {
     if (_textField != null)
     {
         _textField.Dispose();
         _textField = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (_bottomView != null)
            {
                _bottomView.Dispose();
                _bottomView = null;
            }

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

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

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

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

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

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

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

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

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