Paint.HomeScreen.ReleaseDesignerOutlets C# (CSharp) Méthode

ReleaseDesignerOutlets() private méthode

private ReleaseDesignerOutlets ( ) : void
Résultat void
        void ReleaseDesignerOutlets()
        {
            if (activityIndicatorView != null) {
                activityIndicatorView.Dispose ();
                activityIndicatorView = null;
            }

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

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

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

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

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

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

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

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

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

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

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