Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (bookScrollView != null)
            {
                bookScrollView.Dispose();
                bookScrollView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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