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;
            }
        }
Esempio n. 2
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;
            }
        }
Esempio n. 3
0
        void ReleaseDesignerOutlets()
        {
            if (buttonContactSend != null)
            {
                buttonContactSend.Dispose();
                buttonContactSend = null;
            }

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

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

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

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

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

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

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

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

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