Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (AddRecipientButton != null)
            {
                AddRecipientButton.Dispose();
                AddRecipientButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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